credit card, email, web site & postal code validation with Spring 2.5.6
I use Spring 2.5.6 in OSGi bundle 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?
Do I use Hibernate Validator?
If yes, should I use 3.1.0.GA or 4.0.0.GA or 4.0.2.GA?