Instead of using default value use current value. When the page is initialized for the first time, set current value to default value. After a user selects value from the list, submit current value back to the form. You will reuse it when you display the page again.
Michael. On 11/29/05, Kanuri, Chand <[EMAIL PROTECTED]> wrote: > yeah i gave session scope to all of my forms in action mappings in my struts > config. > > some are populated where as the problem is with the drop downs which are > pointing to default first vale not the one already picked earlier. > > any idea? > -----Original Message----- > From: Stephen Hartley [mailto:[EMAIL PROTECTED] > Sent: 29 November 2005 15:02 > To: Struts Users Mailing List > Subject: Re: Retaining dropdown value?? > > > have you tried giving your form bean session scope? > (See documentation for action mapping in > struts-config) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]