Greetings, I know very well this has been discussed earlier but unfortunately I could not find any concrete solution other than setting it in the session or forward to the action which prepares the dropdown. If possible, please direct me to the documentation.
Thanx. Regards, Sen -----Original Message----- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: 29 01, 2003 8:09 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: dropdown - options This has been discussed before. Please look at the archives. In the mean time, try setting the input attribute of the action mapping element to the URL for the action that "prepares" this page. robert > -----Original Message----- > From: Senthivel U S [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 10:40 AM > To: 'Struts Users Mailing List' > Subject: dropdown - options > > > > Greetings, > > I have one dropdown. For dropdown I have one property of type ArrayList > in the form. It displays the list. While submitting the page, if there > is any error, I want to display the same page with the dropdown list. I > don't want to set it as session/application attribute. > > Jsp code > > <html:select property="testName" size="1" > > <bean:define id="rows" name="testForm" > property="rows" > type="java.util.ArrayList" /> > > <html:options collection="rows" > property="value" labelProperty="label" /> > </html:select> > > > Any suggestions is highly appreciated. > > Regards, > Sen. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

