jsp
删除没备份的痛
厚德载物,得以自度
前后端的代码可以分离,但是!全栈技术绝不能分离!
展开
-
idea灰屏问题
idea慢原创 2022-06-27 10:05:25 · 571 阅读 · 0 评论 -
工程安全和工程质量
模块原创 2022-06-27 10:04:06 · 71 阅读 · 0 评论 -
下拉框有空行
<input type="hidden" value="${assessData.proDepartmentCode}" id="xmbCodeValue">value的值取对应正确就没空行了value="${assessData.sspq}"之前取的这个值就多空行原创 2022-05-18 18:56:07 · 109 阅读 · 0 评论 -
获取选中值
$('#secondTypeCode').find("option:selected").text()原创 2022-05-18 17:35:06 · 80 阅读 · 0 评论 -
jsp找地址
在url直接找请求网址: http://localhost:8080/nmcf_yhgl_szss/szss_zc/ledgerManager/ledgerManage.jsp?i=0.6667544713180904原创 2022-05-16 17:15:01 · 136 阅读 · 0 评论 -
jsp引用js和css
<link rel="stylesheet" href="${basePath}bootstrap/css/bootstrapValidator.css"><link rel="stylesheet" href="${basePath}bootstrap/css/bootstrap-datetimepicker.css"><jsp:include page="/commons/jsp/jqueryResource.jsp"></jsp:include>&原创 2022-05-12 10:14:29 · 494 阅读 · 0 评论 -
jsp标签库导包
<%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %><%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%><%@ taglib uri="http://java原创 2022-05-12 10:01:46 · 251 阅读 · 0 评论 -
jsp相对路径和绝对路径
<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; request.setAttribute("basePath",basePath);%>request.getSchema()可以返回当前页面使用的协议,http 或是 h原创 2022-05-12 09:55:59 · 62 阅读 · 0 评论 -
$.ajax({})异步
$.ajax({ type: "POST", url:"${basePath}yhAssess/getChildTareaStandard.html", data:{ xmb:proDepartmentCode }, success: function (data) { // console.log('getAreaByTypeName=>',data)原创 2022-05-11 09:08:23 · 503 阅读 · 0 评论 -
两种方式获取damageDetail数据
data={"id":id,"pid":pid,"nodecode":nodecode,"typeCode":typeCode,"remark":remark,"num":num,"unit":unit,"unitCode":unitCode, "mainTypeCode":mainTypeCode,"mainTypeName":mainTypeName,"deviceTypeCode":deviceTypeCode,"deviceTypeName":deviceTypeNa原创 2022-05-06 18:12:51 · 118 阅读 · 0 评论 -
视图解析器
<!-- 对模型视图名称的解析,即在模型视图名称添加前后缀 --> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/> <property name="p原创 2022-04-27 17:08:01 · 135 阅读 · 0 评论 -
非空判断num
if (!StringFacs.isEmpty(num)){ completeEntity.setNum(new BigDecimal(num)); }原创 2022-04-26 17:44:32 · 233 阅读 · 0 评论 -
请输入有效值1,2
<input type="number" min="-999999999" max="9999999999" step="0.0000001" />原创 2022-04-26 15:58:40 · 204 阅读 · 0 评论 -
判定是否显示合格不合格
<c:if test="${!(assessData.assessType=='1'&&sessionScope.session_userinfo.userType=='2')}"> </c:if><c:if test="${!(assessData.assessType=='1'&&sessionScope.session_userinfo.userType=='2')}"> </c:i.原创 2022-04-26 13:19:34 · 83 阅读 · 0 评论 -
本次扣分jsp
修改分数 <td class="tdValue"> <input id="decreaseScode" required class="decreaseScode" type="number" name="decreaseScode" value="'+score+'" /> </td>回显<td class="tdValue"> <input id="decreaseScode" required readonly clas原创 2022-04-25 18:56:46 · 122 阅读 · 0 评论 -
单选按钮选中
<input name="isurgent" type="radio" value="1"<c:if test="${Damage.isurgent eq '1'}">checked</c:if>> 是 <input name="isurgent" type="radio" value="0" <c:if test="${Damage.isurgent eq '0'}">原创 2022-04-21 17:22:23 · 100 阅读 · 0 评论 -
jsp回显
${assessData.is_urgent=='1'?'是':'否'} <input id="isUrgent" class="isUrgent" type="radio" name="isUrgent" value="0" checked>否   <input id="" class="isUrgent" type="radio" name="isUrgent" value="1">是 <c:if...原创 2022-04-21 11:36:22 · 104 阅读 · 0 评论 -
显示是否紧急
${assessData.is_urgent=='1'?'是':'否'}原创 2022-04-21 11:32:22 · 63 阅读 · 0 评论