views:

90

answers:

3

Hi,

Can you recommend any mechanism/technology/3rd party jar that does field validation (like field length validation, regexp validations and so on..)?

It's important that it would be highly configurable - meaning that I would be able to map between fields to a set of validations or something of that sort.

Perhaps it should have also the ability to implement custom validators.

Any suggestion would be appreciated,

Thank you!

+2  A: 
Bozho
+1  A: 

take a look at Spring validator particularly the PropertyEditor part

Narayan
+1  A: 

Apache has a package for this http://commons.apache.org/validator/ Struts has this built-in as well

JoseK