日期:2014-05-17  浏览次数:20678 次

struts1 中<html:checkbox>标签的value值如何动态赋值?
<logic:iterate id="student" name="list" indexId="i" length="5" scope="request">
<tr>
<td><html:checkbox property="chbox" value=" "/></td>
<td><bean:write name="student" property="nameStr" /></td>
<td><bean:write name="student" property="sexStr" /></td>
  </tr>

<html:multibox>的value如何得到list中的值 ??

------解决方案--------------------
><html:checkbox property="chbox" value=" student.property"/></

><html:checkbox property="chbox" value=" property" name='student'/></