Is the input attribute of your SetX action set to the jsp or the GetX
action?  You can either set it to the GetX action so that the drop-down
collection gets reloaded, or stick the drop-down collection in session scope
so the jsp can access it on the next request...

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -----Original Message-----
> From: Prabu Babu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 11:35 AM
> To: [EMAIL PROTECTED]
> Subject: Dropdown list
> 
> 
> Hi,
> 
> I have a form say X. I have GetX action which prefills form 
> and SetX action 
> which process the values entered by user. I have dropdown 
> list [fetched by 
> GetX and populated in form object]. When the form is posted, 
> and it fails in 
> validation, i am losing this dropdown list [ArrayList]. I get 
> only the 
> selected values. It goes back to the form with empty dropdown 
> list. Is there 
> a flaw in my design? I think i am not getting back the 
> dropdown list because 
> it is not sent back from browser. What is the solution. I believe the 
> dropdown list should be part of the form.
> 
> Thanks,
> Prabu
> 
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to