在struts中的optioncollections标记内创建复选框

时间:2013-09-10 08:23:11

标签: html checkbox struts struts1

我想在struts 1.3中的optioncollections标记内创建一个复选框。我尝试了这段代码,但它不起作用: -

<html:optionsCollection name="FileUploadForm" property="userSList" label="description" value="userName" >

             <html:checkbox property="description" />
 </html:optionsCollection>

0 个答案:

没有答案