struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject retaining the values in html:select multiple="true" in jsp + collection + struts
Date Tue, 11 Jan 2011 10:18:01 GMT

    I have a multiple selection box in one of the jsp:


                      <TD height=30 class="Formblue" valign=top><strong>Select&nbsp;

                    <TD colspan=5  class="para" >


                        <html:select multiple="true"  style="width:220px" size="3" name="MyForm"
property="strLevelId" >

                        <html:options collection="arlstLevelList" property="strLevelId"



                        <span class="formblue"><strong><bean:message key="common.CtrlMessage"/></strong></span>



  When the user clicks on "Submit" it goes to another jsp.  Now the user clicks on the back
button, the selected value in the multiple selection box is not retained.  I need your inputs
to fix this.

Best Regards,

 Vikramsingh G B

Accenture - IDC | BANG4 | Bangalore - 560037 | e-mail:<>
| Office: +91 80 4186 3008 | Mobile: +91 99865 93789 | MOC

This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.

  • Unnamed multipart/related (inline, 7-Bit, 0 bytes)
View raw message