使用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" %>  

posted @ 2018-09-26 11:18  魔豆  阅读(258)  评论(0编辑  收藏  举报