I have following mockup JSP:
...
<td colspan="2" height="28"> <font size="2">
<html:select property="sj">
<html:option value="allj">aaa,1,str1</html:option>
</html:select>
</font>
</td>
...
Struts action will prepare results as String[] array e.g.:
aaa,1,str1
aaa,2,str2
aaa1,1,str3
aaa1,b,str4
...
and I have to show this in the page as a drop-down list of values that are represented in this String[] array returned from Struts action.
Should action return result array in original ActionForm submitted to the action by this page or should it just put the array into request or session? I need an example if possible
Many thanks,