struts 从action中传对象给struts标签的问题
疯狂的人 2007-10-12 08:09:45 org.apache.jasper.JasperException: /Test.jsp(9,0) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
这时报错的信息
代码是这样的jsp中的第九行<c:set var="id" value="<%=(ArrayList)request.getAttribute("con")%>" scope="session"/>
<logic:iterate id="a" name="${id}"></logic:iterate>
在 action 中
写了request.setAttribute("con",ret);
ret为ArrayList类型 的
目的是从action中传一个arrayList类型的对象到jsp页面迭代输出。。。