本文介绍了解决JSP中According to TLD or attribute directive in tag file, attribute value does not accept any expressions错误的方法。主要提供了两种解决方案:一是通过修改web.xml文件中的版本号;二是使用JSTL core RT库。
JSP中出现According to TLD or attribute directive in tag file, attribute value does not accept any expressions
应用部署运行的时候出现JSP异常, 发生在使用JSTL库的时候: According to TLD or attribute directive in tag file, attribute value does not accept any expressions, 可能是因为使用了JSP2.0版本, 同时又没有使用JSTL core库的备用版本(RT库), 以下有两种处理方法: