JSTL1.1的库在JSP2.0(Servlet 2.4)及以后(推荐用JSTL1.1及以上)用:
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 如果继续写以前的这个导入路径
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
就会报 According to TLD or attribute directive in tag file, attribute value does not accept any expressions 这样一个异常。