According to TLD or attribute directive in tag file, attribute [test] does not accept any expression
两种解决方法
1、将
<%@taglib prefix=”c” uri=”http://java.sun.com/jstl/core”%>
更改为
<%@taglib prefix=”c” uri=”http://java.sun.com/jsp/jstl/core”%>
会导致c:if 无法使用
2、使用JSTL的备用库
将
<%@taglib prefix=”c” uri=”http://java.sun.com/jstl/core”%>
更改为
<%@taglib prefix=”c” uri=”http://java.sun.com/jstl/core\_rt”%>
推荐使用第二种方法
还没有评论,来说两句吧...