Hi,

ValidatorActionForm -
This class extends ValidatorForm and provides basic field validation based on an XML 
file. The key passed into the validator is the action element's 'path' attribute from 
the struts-config.xml which should match the form element's name attribute in the 
validation.xml.

ValidatorForm - 
This class extends ActionForm and provides basic field validation based on an XML 
file. The key passed into the validator is the action element's 'name' attribute from 
the struts-config.xml which should match the form element's name attribute in the 
validation.xml.
 

See the BOLD words and you will get the difference...

Best Regards,

Janarthan S

-----Original Message-----
From: Joao Batistella [ mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 3:41 PM
To: 'Struts Users Mailing List'
Subject: Difference between ValidatorForm and ValidatorActionForm


Hello!

I would like to know the difference between ValidatorForm and
ValidatorActionForm. I read the API documentation but the descriptions are
the same.

When should I use each one?

Thanks,
JP


Reply via email to