• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

struts 1.3,Validator forpassword field

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

1.ExampleForm.jsp



2.staticjavascript.jsp


3.Struts-config.xml



4.validation.xml


5.ExampleFormAction.java

6.ExampleForm.java



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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic