struts标签<html:checkbox property="addItem">xxxx</html:checkbox>相当于Html标签<imput type="checkbox" name="addItem" value="on">xxxx</input>
应用实例:
<logic:iterate id="subject" name="subjectList">
<html:multibox property="subjects" >
<bean:write name="subject" property= "id"/>
</html:multibox>
<bean:write name="subject" property= "name"/>
</logic:iterate>
作用:
把subjectList中subject的Id保存在subjects数组中(String型)