ActionForm 里:
java 代码
jsp里:
< html:select property="userid">
< html:options collection="userHtmlSelect" property="value" labelProperty="label"/>
< /html:select>
< html:select property="userid">
< html:options collection="userHtmlSelect" property="value" labelProperty="label"/>
< /html:select>
注解:userid是Form对象的属性。