Grails

Validating emails, urls and date using Java API

Using commons-validator jar for validation emails, date, url, credit card etc. This jar file is bundled with the grails jar files. So writing regular expressions or creating command objects/domains for the single field validation is overkilling. The jar file has a special class GenericValidator for validating well-known data types.

Bhagwat Kumar
Bhagwat Kumar
Read