当前位置: 代码迷 >> JavaScript >> jsp 标签 According to TLD or attribute directive in tag file.错误
  详细解决方案

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

热度:782   发布时间:2012-12-21 12:03:49.0
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"%>

就可以了。

  相关解决方案