<select name="property">
<logic:iterate id="vo" name="list">
<option value="${vo}">
${vo}
</option>
</logic:iterate>
</select>

解决方案 »

  1.   

    <html:select name="testbean" property="pro">
      <html:optionsCollection name="testbean" property="beanCollection"/>
    </html:select>
      

  2.   

    这样写
    <select name="yourProperty">
       <logic:iterate id="oneItem" name="collectionName" type="collectionType" property="collection's property" >
       <option value='<bean:write name="oneItem" property="value"/>'><bean:write name="oneItem" property="name"/></option>
       </logic:iterate>
      </select>