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

家住魔仙堡 提交于 2020-01-27 04:57:27

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'%>
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!