请问一下,如何将ArrayList数据用<logic:iterate> 标签写到JSP页面上 <logic:iterate id="id" name="form" property="arrayList" scope="request"> ......</logic:iterate>没什么难度 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 例:<logic:iterate id="result" name="LeaderQueryForm" property="arrResult"> <tr> <td class=t1 align=center height=25><bean:write name="result" property="szLineNo"/></td><!--序号--> <td class=t1 align=center><custom:sn name="result" property="OP_ID"/></td><!--督办件号--><%--<bean:write name="result" property="ESTABLISH_YEAR"/><bean:write name="result" property="SN" />--%> <td class=t1 align=center><custom:checkLength formname="LeaderQueryForm" name="result" property="szNode" styleClass="t1" size="90"/></td><!--所属目录--> <td class=t1 align=center><a href=# onclick="javasript:titleClick(<bean:write name="result" property="OP_ID"/>);"><custom:checkLength formname="LeaderQueryForm" name="result" property="PRJ_NAME" styleClass="t1" size="90"/></a></td><!--项目名称--> <td class=t1 align=center><bean:write name="result" property="ESTABLISH_DATE"/></td><!--立项日期--> <td class=t1 align=center><custom:checkLength formname="LeaderQueryForm" name="result" property="szUndertake" styleClass="t1" size="60"/></td><!--承办单位--> <td class=t1 align=center><bean:write name="result" property="STATUS"/></td><!--办理状态--> <td class=t1 align=center><bean:write name="result" property="szFile" filter="false"/></td><!--相关材料--> </tr></logic:iterate> <logic:iterate id="id" name="form" property="arrayList" indexed="index" ......</logic:iterate>arrayList就是在你formbean中存在的一个ArrayList对象! 关于权限管理的数据库设计 各位帮帮忙! ssh 增删改查 修改报错 JAVA技术讨论的QQ群:13176388,欢迎大家加入 高分求解SSL配置问题 如何把循环里的东西添加到一个集合里去? 使用Struts连接数据库的示例程序 weblogic610_win安装出错问题。 欢迎大家下载我的软件,下载者有分. EJB中什么是包装器类? Struts的<logic:iterate>只能显示formBean中的数据,不能把数据提交到formBean中? 来帮我看看,我的JSP调用远程EJB出错在什么地方了。
<logic:iterate id="result" name="LeaderQueryForm" property="arrResult">
<tr>
<td class=t1 align=center height=25><bean:write name="result" property="szLineNo"/></td><!--序号-->
<td class=t1 align=center><custom:sn name="result" property="OP_ID"/></td><!--督办件号--><%--<bean:write name="result" property="ESTABLISH_YEAR"/><bean:write name="result" property="SN" />--%>
<td class=t1 align=center><custom:checkLength formname="LeaderQueryForm" name="result" property="szNode" styleClass="t1" size="90"/></td><!--所属目录-->
<td class=t1 align=center><a href=# onclick="javasript:titleClick(<bean:write name="result" property="OP_ID"/>);"><custom:checkLength formname="LeaderQueryForm" name="result" property="PRJ_NAME" styleClass="t1" size="90"/></a></td><!--项目名称-->
<td class=t1 align=center><bean:write name="result" property="ESTABLISH_DATE"/></td><!--立项日期-->
<td class=t1 align=center><custom:checkLength formname="LeaderQueryForm" name="result" property="szUndertake" styleClass="t1" size="60"/></td><!--承办单位-->
<td class=t1 align=center><bean:write name="result" property="STATUS"/></td><!--办理状态-->
<td class=t1 align=center><bean:write name="result" property="szFile" filter="false"/></td><!--相关材料-->
</tr>
</logic:iterate>
......
</logic:iterate>arrayList就是在你formbean中存在的一个ArrayList对象!