struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Jouravlev <>
Subject Re: Retaining dropdown value??
Date Tue, 29 Nov 2005 23:47:21 GMT
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.


On 11/29/05, Kanuri, Chand <> 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 []
> 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:
For additional commands, e-mail:

View raw message