According to TLD or attribute directive in tag file, attribute value does not accept any expressions
Posted lonecloud
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了According to TLD or attribute directive in tag file, attribute value does not accept any expressions相关的知识,希望对你有一定的参考价值。
1.出现原因:
导入的uri由于不是正确的导致这个jstl不支持el的表达式
jstl uri导入错误:
1 <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
不支持el表达式
修改方法
将其改为
1 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
就可以解决这个问题
以上是关于According to TLD or attribute directive in tag file, attribute value does not accept any expressions的主要内容,如果未能解决你的问题,请参考以下文章
According to TLD or attribute directive in tag file, attribute value does not accept any expressions
According to TLD or attribute directive in tag file, attribute value does not accept any expressions
jstl 中无法使用EL语句。异常信息:According to TLD or attribute directive in tag file, attribute value does not ac
Attribute class invalid for tag present according to TLD
Struts的莫名问题解决方法:Attribute class invalid for tag present according to TLD