JSP "items" does not support runtime expressions
2012-12-27 00:07
1236 查看
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <c:forEach var="datatables" items="${ds}"> <tr> <td>${datatables.engine}</td> <td>${datatables.browser}</td> <td>${datatables.platform}</td> <td>${datatables.version}</td> <td>${datatables.grade}</td> </tr> </c:forEach>
In my JSP page, I import JSTL taglib like above, but it gives me the error that "items" does not support runtime expressions. The reason is previous
taglib directive imports a JSTL 1.0 taglib. It should be JSTL 1.1 instead (note the difference in URI):
Solution: Change to the taglib
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
Make sure you've imported jstl.jar in your project.
相关文章推荐
- jsp中提示"items" does not support runtime expressions
- 进行SSM框架开发中遇到JSTL标签提示:"items" does not support runtime expressions解决办法
- items" does not support runtime expression
- JSTL标签提示:"items" does not support runtime expressions
- 使用JSTL报错:"items" does not support runtime expre...
- items" does not support runtime expression
- jsp fmt页面显示value does not support runtime expressions
- ssh设计jsp使用taglib提示 does not support runtime expressions
- jsp 页面显示value does not support runtime expressions
- "test" does not support runtime expressions
- 【JSP jstl c标签】使用c:foreach 报错(警告)”test does not support runtime expressions“
- 关于s:iterator中"value" does not support runtime expressions的解决方法
- Xcode "The selected destination does not support the architecture " 错误
- 解决"error C4430: missing type specifier - int assumed. Note: C++ does not support default-int" .
- test does not support runtime expressions
- jstl c标签 ”test does not support runtime expressions“
- java.lang.UnsupportedOperationException: This parser does not support specification "null”version ..
- CXF 的 UnsupportedOperationException:This parser does not support specification null "version" null.
- 邮件发送中的"server does not support secure connection."
- 解决"error C4430: missing type specifier - int assumed. Note: C++ does not support default-int"