写个
bean
包括你
结
果集的所有字段,然后把
值
set
到
bean
中,然后
arraylistname.add(bean)
,然后
request.setattribute("response",res);
把你想要的
结
果集
arraylistname
放到
res
中,在
jsp
上写
<logic:present name="response" property="arraylistname" scope="request">
<logic:iterate id="item" name="response" property="arraylistname" scope="request" type="xx.xx.xx.xx.bean">
Action
req.setAttribute("leComCLCRBean", l_CLCRBean);
req.setAttribute("is_syu", session.getAttribute("is_syu"));
req.setAttribute("is_self_adop", session.getAttribute("is_self_adop"));
Form
leComCLCRBean
は
Bean
です。
is_syu
と
is_self_adop
は該当
Form
の項目です。
JSP
画面
①
Bean
の操作:
logic:iterate id="CLCRResult" name="leComCLCRBean" type="requester.le.com.bean.LeComCLCRBean" >
<tr>
<td> <%= CLCRResult.getCol_name())%><br></td>
</tr>
②項目の操作
<INPUT TYPE="HIDDEN" NAME="is_syu"
VALUE="<bean:write name="is_syu" filter="false" ignore="true" />">