Hello,
I am facing an issue in struts 1.2
This code is in my JSP file. I am using multi select option. Initially the values will be populated to the multi select box from database through LabelValueBean. While I select one or more options and click submit, the values are retrieved in action class as empty string instead of its corresponding label and value.
Please share your advise..
<tr>
<td class="td1" valign="top" colspan="1">Service options: </td>
<td class="td2" colspan="2">
<html:select property="selectedServices" name="specificStoreForm" multiple="true" styleClass="services">
<logic:iterate id="service" name="services">
<html:option value="">
<bean:write name="service" property="label"/>
</html:option>
<bean:write name="service" property="value"/><br/>
</logic:iterate>
</html:select>
</td>
</tr>