You'll need to provide more details, like the relevant properties of the action class (specifically the property being saved to, and the property being used to do the pre-selects, and how the pre-select values are loaded by the action) at the very least as well as the complete tag usage.
posted 11 years ago
i am using the struts library tags..
the multiple select is inside form tag..
I have some select box and some multiple select box in it.
i want to retain the value of this multiple select box while doing an update.
the user goes to the edit page to update details using a edit url, through which i am passing the id as a parameter.
in doing so, i am getting the object there by using the method
i am able to retain the values of checkbox's and textfield's in the page. but when it comes to select box, i am not able to retain their values.
since this page is used by the user to update his previously entered details, all the entries must be populated.