commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Jakarta Commons Wiki] New: ValidatorActionForms
Date Thu, 20 May 2004 19:51:05 GMT
   Date: 2004-05-20T12:51:05
   Editor: RobertBurrellDonkin <>
   Wiki: Jakarta Commons Wiki
   Page: ValidatorActionForms

   Moved from original wiki

New Page:

Up to ValidatorFaq

= What's the difference between DynaValidatorForms? and DynaValidatorActionForms?? =

== Answer(s) ==
When you configure your forms to be DynaValidatorForms?, then struts will choose to use the
form you defined in validation.xml with the same name as the action mapping's name attribute.
This should also correspond to a form definition in the struts-config form-beans section.

With DynaActionValidatorForms?, struts looks for a form definition in validation.xml with
the name the same as the path attribute of your action mapping.

i.e. with DynaValidatorForms? you always get the same validation done on a particular struts-config-defined

With DynaValidatorActionForms? any particular validation definition in validation.xml is executed
for a particular URL, the path in the action mapping.

Up to ValidatorFaq

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message