标签:stat date fill strong col prevent lte validate 页面
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>
查询时间报错:
org.apache.jasper.JasperException: /illness_case/cases_list.jsp (line: 44, column: 13) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
Jsp页面时间标签
<td><fmt:formatDate value="${p.birthDay}" pattern="yyyy-MM-dd"/></td>
使用IDEa自动提示的标签为第一个,有可能导致时间显示报错,可以尝试使用第二个fmt标签
Type Exception Report
Message /manager/patient/PatientList.jsp (line: [70], column: [11]) According to TLD or attribute directive in tag file, attribute [value] does not accept any expressions
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: /manager/patient/PatientList.jsp (line: [70], column: [11]) According to TLD or attribute directive in tag file, attribute [value] does not accept any expressions
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:291)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1248)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:886)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1544)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2389)
标签:stat date fill strong col prevent lte validate 页面
原文地址:https://www.cnblogs.com/slAmor/p/11806010.html