File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1397
    
    6

In the form bean could we do something like this



Swastik
 
Consider Paul's rocket mass heater.
 
subject: password in struts
 
Similar Threads
Validate the password
Regex required for a logic
How to hide passwords?
Validations at client side
POST action gets "Please refresh"