A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
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?
It is sorta covered in the
JavaRanch Style Guide
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-2015