credit card, email, web site & postal code validation with Spring 2.5.6
posted 7 years ago
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?