File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes struts 1.3,Validator forpassword field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 1.3,Validator forpassword field" Watch "struts 1.3,Validator forpassword field" New topic

struts 1.3,Validator forpassword field

vinod chemmi
Ranch Hand

Joined: Jun 15, 2009
Posts: 35
Hi Experts

I have an issue with validator for password field.I am using struts 1.3 and enabled validator in struts-config.xml file.Below giving the files which i used.





Issue: My issue is with password field.Whenever i validate password field for mask value, even though the error is detecting it is not showing just like required validation. It is rentering in the ExampleForm.jsp through the <html:errors/>. I changed the password field to <html:text property="password"/> it worked as i expected. Any one have any idea?
I agree. Here's the link:
subject: struts 1.3,Validator forpassword field
It's not a secret anymore!