您的位置:首页 > 其它

according to tld or attribute directive in tag file attribute *** does not accept any expressions

2017-02-21 08:52 465 查看
http://stackoverflow.com/questions/13428788/according-to-tld-or-attribute-directive-in-tag-file-attribute-items-does-not-ac

Your JSTL taglib URI is wrong. The one which you've there is for legacy JSTL 1.0. Since JSTL 1.1 there's an additional
/jsp
path in the taglib URI, because expression language (those
${}
things) has been moved from JSTL to JSP and hence taglibs of JSTL 1.0 and 1.1 are not interchangeable.

如果原因是如上,则把下面的

<%@ taglib uri='http://java.sun.com/jstl/core' prefix='c'%>
修改为

<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐