jstl 标签中/c:when/c:choose
编译错误代码Invalid attribute (test)
运行报错(22,3) According to TLD or attribute directive in tag file, attribute test does not accept any expressions
一般是那种情况下报这个错?
收起
检查一下 是不是 已经包含了 jstl的 jar包 , 如果包含了 在试试 在 jsp页面 的顶部 加上 <%@ page isELIgnored="true" %>
报告相同问题?