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

来源:互联网 发布:空气净化器 知乎 推荐 编辑:程序博客网 时间:2024/04/28 17:12

错误:

严重: Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: /WEB-INF/page/employee.jsp(24,3) According to TLD or attribute directive in tag file, attribute items does not accept any expressions

解决方案:

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

改为

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

主要原因:

版本问题

阅读全文
0 0