Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[struts] password validation with validator and dynaforms

843841Dec 13 2005
hi all,
I've just started using struts validator together with dynaforms. As example I'm trying to validate user registration form. Now my problem is:
what I want to do is when password's length is less than e.g. 8 chars I want to show error and clear password field. The first part of it is simple, I use validator rule and it works properly, but the field contains value after validation (you can view page source and you can see that password). Do you know how to write that to clear password field useing DynaForm, not simple ActionForm.

Thanks for all answers.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2006
Added on Dec 13 2005
0 comments
118 views