This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes DynaValidatorActionForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DynaValidatorActionForm" Watch "DynaValidatorActionForm" New topic


ajay verma
Ranch Hand

Joined: Dec 10, 2007
Posts: 37
can you pls give me idea how to use of DynaValidatorActionForm ?
and what will be benefits over using DynaValidatorForm?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The answer is in the following paragraphs from the Struts Validator Guide.
An alternative approach is to use the action mapping path attribute. In this case, you extend the ValidatorActionForm instead of the ValidatorForm. The ValidatorActionForm uses the action element's path attribute from the Struts configuration which should match the form element's name attribute in the Validator configuration.

Then a separate action mapping can be defined for each page in a multi-page form, and the validation form can be associated with the action rather than a page number (as shown in the example of a multi-page form in the validator example).

Consultant, Sima Solutions
I agree. Here's the link:
subject: DynaValidatorActionForm
It's not a secret anymore!