Here is a link to some valuable information about DynaActionForm and DynaValidatorForm.
http://struts.apache.org/struts-doc-1.2.x/userGuide/building_controller.html#dyna_action_form_classes Your answer is in the following quote from that document:
DynaActionForms cannot be instantiated using a no-argument constructor. In order to simulate the extra properties, there is a lot of machinery involved in their construction. You must rely on Struts to instantiate a DynaActionForm for you, via the ActionMapping.
What this means is that if you have an action such as
initializeLoginPage, and you have defined a DynaValidatorForm as
loginForm, you must assign
loginForm to the
initializeLoginPage action.
Struts will then instantiate
loginForm for you and pass it as a parameter to the execute() method of the Action class defined in the
initializeLoginPage mapping.
The parameter comes in as type ActionForm, but you must cast it as type DynaVaidatorForm in order to use it.
[ January 13, 2006: Message edited by: Merrill Higginson ]