It's not a secret anymore!*
The moose likes Spring and the fly likes credit card, email, web site & postal code validation with Spring 2.5.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "credit card, email, web site & postal code validation with Spring 2.5.6" Watch "credit card, email, web site & postal code validation with Spring 2.5.6" New topic
Author

credit card, email, web site & postal code validation with Spring 2.5.6

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 247
I use Spring 2.5.6 and know how to write form validation with Spring.
I am looking for a credit card, email, web site and postal code validation library or util on the server side to validate the info entered in the form.
Should I use the CreditCardValidator, EmailValidator and UrlValidator provided in the Apache Commons Validator (http://commons.apache.org/validator/)?
However, it does not has any postal code validator.
What is the alternative, besides writing my own validator?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: credit card, email, web site & postal code validation with Spring 2.5.6