This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
i have an add page ......with list ( html:select hultiple="true" ) ......now while adding i select multiple values ..............to develop the edit page .......i want to preselect more than one values from the list ...........how can i implement this in struts ?
I assume your action form has something like an array that holds the value of the selected items. In the action that shows your page you just need to populate this array on your form with the values you want selected.
Joined: May 14, 2007
yes the previous action contains array which holds the values .....and also action form has such array