> I'm using struts validation in my project,
> my problem is:when i return from my validationForm,
> all the form data in the jsp page have been 
> cleared.Can't i return to the jsp page with all the data
> there,so i can just correct the wrong data.
> For example,in the registration page,my validationForm finds that
> the password is not long enough,so direct to the registration page,
> can i just correct the password field in the form?

Yes, you can. 

Steps to follow:

1. declare every attribute in your actionForm as type of String;

2. use Struts tags in your jsp files for any input fields. The
Struts will take care of populating these filelds.

Best,

Xuemin






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

Reply via email to