【JSTL错误排除】According to TLD or attribute directive in tag file, attribute items does not accept any expressions

一、错误信息

 二、错误原因

因为使用了 JSP 2.0, 但又没有使用 JSTL 标签库的备用版本(RT库)

三、解决方案

原来jstl引用:

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

 

修改后的jstl引用:

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

 

posted @ 2021-12-04 00:59  哒啦蹦哒啦  阅读(70)  评论(0)    收藏  举报