According to TLD or attribute directive in tag file, attribute [test] does not any expressions

解决方法有2个

1、将<%@taglib prefix=“c” uri=“http://java.sun.com/jstl/core”%>
更改为
<%@taglib prefix=“c” uri=“http://java.sun.com/jsp/jstl/core”%>

2、使用JSTL的备用库,
将<%@taglib prefix=“c” uri=“http://java.sun.com/jstl/core”%>
更改为
<%@taglib prefix=“c” uri=“http://java.sun.com/jstl/core_rt”%>

你可能感兴趣的:(java)