File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Validations in Form/Action
Joined: Aug 03, 2006
Nov 24, 2008 04:38:00
we can do the front end validations in the form by implementing the validate method of ValidatorForm, or the same validations can be put in the Action by creating new ActionMessages and populating the same with error messages to be shown.
can anyone tell me which is the preferred way?
I agree. Here's the link:
subject: Validations in Form/Action
Validating some extra fields of action form not in my jsp?
Doubt in Action Form
DynaValidatorActionForm not working
Struts Validator Framework - using same formbean for different jsps
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014