my dog learned polymorphism*
The moose likes Struts and the fly likes password in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "password in struts" Watch "password in struts" New topic
Author

password in struts

Aditi agarwal
Ranch Hand

Joined: Feb 23, 2011
Posts: 225
hi

I want to ask if there is any way to restrict that our password field should not only contain alphabets it should neccessarily contain digits, special characters

Please help me
I need it

thank you
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1449
    
    6

In the form bean could we do something like this



Swastik
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: password in struts
 
Similar Threads
How to hide passwords?
POST action gets "Please refresh"
Regex required for a logic
Validations at client side
Validate the password