Do you store selected country? Struts does not do it for you.
This link may help: http://wiki.apache.org/struts/StrutsWidgets

Michael.

On 4/26/06, Marisol Opreni <[EMAIL PROTECTED]> wrote:
> I have a textbox (empty) and a dropdown list (countries from a database).
> The user completes the textbox and selects a country from the dropdown list.
>
> When he submits, I validate the textbox (validator framework).
> If there's an invalid input in the textbox, the drop down list doesn't show
> the previously country selected by the user... therefore he has to selected
> again.
>
> How can I prevent this?
> THANKS!
> Marisol.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to