使用jstl报错:According to TLD or attribute directive in tag file, attribute value does not accept any expressions

使用jstl报错:According to TLD or attribute directive in tag file, attribute value does not accept any expressions

在使用jsp2.0版本时,标签中的属性不支持表达式。解决办法是将

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

改为

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

原文地址:https://www.cnblogs.com/modou/p/9705844.html