首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

jsp 标签 According to TLD or attribute directive in tag file.错误

2012-12-21 
jsp 标签 According to TLD or attribute directive in tag file...异常jstl报org.apache.jasper.JasperEx

jsp 标签 According to TLD or attribute directive in tag file...异常

jstl报org.apache.jasper.JasperException: /index.jsp(6,0) According to TLD or attribute directive in tag file, attribute items does not accept any expressions异常

?

在确保jar包已经添加的情况下

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

改为:

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

就可以了。

热点排行