EL表达式错误jsp.JspTagException
异常:
javax.servlet.jsp.JspTagException: 1、 Don't know how to iterate over supplied "items" in <forEach> 2、Illegal use of <when>-style tag without <choose> as its direct parent
解决:
1、
1)是传值问题,传的不是集合,所以不能遍历
2)items传的值是关键字,jstl不能识别,如${resources}
2、
1)将<c:when></c:when>换成<c:if>
2)利用struts2中的s标签中的<s:if>
我有两个梦想,一是娶一美丽贤惠的姑娘,二是有一稳定踏实的工作。