您的位置:首页 > 其它

According to TLD or attribute directive in tag file, attribute items does not accept any expressions

2018-01-19 23:03 981 查看
EL+JSTL 使用时遇到:According to TLD or attribute directive in tag file, attribute items does not accept any expressions  对着关键的代码找了又找找不出具体的原因,最终定位在了

<%@ taglib uri="http://java.sun.com/jstl/core_rt"  prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/core"  prefix="c"%>

JSTL core库的有两种taglib伪指令, 其中RT库即是依赖于JSP传统的请求时属性值, 而不是依赖于EL来实现(称为EL库.JSP2.0将支持EL)

一点不注意就出了错。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐