struts 循环使用方法:
注释:ARR_REPEAT_DATA(集合类)是T01MFC120Bean(formBean的一个属性)
<logic:iterate name="T01MFC120Bean" property="ARR_REPEAT_DATA" id="item" indexId="index">
<tr>
<th width="4%" height="20" align="center">
<html:radio property="LST_CHK" value="<%=index.toString()%>" styleClass="listradio"/>
</th>
<tr>
<th width="4%" height="20" align="center">
<html:radio property="LST_CHK" value="<%=index.toString()%>" styleClass="listradio"/>
</th>
<th width="5%" height="20" align="center">
<input type="text" name="ARR_REPEAT_DATA[<%=index.intValue()%>].LST_KJ"
value="<bean:write name="item"
property="LST_KJ"/>" size="2" maxlength="1" >
</th>
<input type="text" name="ARR_REPEAT_DATA[<%=index.intValue()%>].LST_KJ"
value="<bean:write name="item"
property="LST_KJ"/>" size="2" maxlength="1" >
</th>
<th width="36%" height="20" align="center">
<input type="text" name="ARR_REPEAT_DATA[<%=index.intValue()%>].LST_YOMI_NM"
value="<bean:write name="item" property="LST_YOMI_NM"/>" size="30" maxlength="4">
</th>
</tr>
</logic:iterate>
<input type="text" name="ARR_REPEAT_DATA[<%=index.intValue()%>].LST_YOMI_NM"
value="<bean:write name="item" property="LST_YOMI_NM"/>" size="30" maxlength="4">
</th>
</tr>
</logic:iterate>