struts 如何从页面传递对象到action
请问如何用checkbox 打钩的时候传递对应的一条对象到action中?
<logic:iterate id="recordInfo" name="recordInfoBean" property="recordInfoList" >
<tr>
<td><html:checkbox name = "recordInfoBean" property="test"></html:checkbox></td>
我现在需要在checkbox选中时把遍历的对象传递到我的action中的test属性中。请问如何做到啊,或者有什么替代的方案。 谢谢