According to TLD or attribute directive in tag file, attribute items does not accept any expressions
2017-02-14 00:00
495 查看
直接分析原因:servlet版本(web.xml中定义的版本号)和jstl版本不一致。
web.xml:
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
建议:
servlet2.0以上版本时最好搭配jstl1.1以上版本。
此外:
jsp页面标签必须这样写(相比较老版本的jstl,链接中多了一个/jsp):
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
给出jstl各版本下载链接:
http://grepcode.com/search/?start=0&query=jstl&entity=project
web.xml:
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
建议:
servlet2.0以上版本时最好搭配jstl1.1以上版本。
此外:
jsp页面标签必须这样写(相比较老版本的jstl,链接中多了一个/jsp):
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
给出jstl各版本下载链接:
http://grepcode.com/search/?start=0&query=jstl&entity=project
相关文章推荐
- According to TLD or attribute directive in tag file, attribute items does not accept any expressions
- According to TLD or attribute directive in tag file, attribute items does not accept any expressions
- According to TLD or attribute directive in tag file, attribute items does not accept any expressions
- JSTL Exception: According to TLD or attribute directive in tag file, attribute items does not accept any expressions Solution
- according to tld or attribute directive in tag file attribute items does not accept any expressions
- According to TLD or attribute directive in tag file, attribute items does not accept any expressions
- 使用JSTL 报According to TLD or attribute directive in tag file, attribute items does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- JSP中出现According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- JSTL:JSP中出现According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute test does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions
- 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)
- Troubleshooting - Exception: According to TLD or attribute directive in tag file, attribute value does not accept any expressions.
- 错误:According to TLD or attribute directive in tag file, attribute value does not accept any expressions