Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
[Struts] Is it possible to create form validation with GUI ?
Hi all,
I’d like to use Struts form validation for the fields of the form.
Is it possible to create the form validation with a GUI or do you need to
write the rules in the XML by hand ?
Thanks
Francesco
Francesco,
Your ActionForm has the validate method already defined in the API that you can override to validate form information. Additionally if you want to use Struts validation yes you need to code those rules I believe, I’ve never used it.