[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ajug-members] Check out the Spring Framework if you haven'talready...
Quoting Angus Berry <firstname.lastname@example.org>:
> I haven't delved very deeply into their docs/faqs so as yet, I haven't
> seen anything about validation. Is there anything akin to Struts
> DynaValidator. The validation on Struts has saved me a huge amount of
> time for server side validation on data intensive screens.
They do have very customizable ways of doing Validation, from doing validation
directly in controllers to using external Validator classes. You don't even
have to code to a Spring api if you don't want, and it will still work (as long
as you specify how to call the validate method in a config file). I do find
Struts's DynaValidator a great feature, and I'm not sure if Spring has
something very similar. I've currently used their normal Validation framework,
which has served all of my purposes so far. They are flexible enough to use on
both the web tier and the application server tier, which is why I've been happy