wood burning stoves 2.0*
The moose likes Struts and the fly likes accessing dynaactionform in action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "accessing dynaactionform in action class" Watch "accessing dynaactionform in action class" New topic
Author

accessing dynaactionform in action class

k srinivas
Greenhorn

Joined: May 31, 2004
Posts: 4
Hi all,
Could i please know as to how could i access the dynaactionform into my action class. how can i set some value to the property of the dynaactionform in the action class
Thanks in advance....
Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
Hi Srinivas,

Please see this hierarichy

DynaValidatorForm extends DynaActionForm
DynaActionForm extends ActionForm
ActionForm extends Object

So now if you want to set properties for your dyanaAction form
check this in your struts-config.xml file


thanks
Anurag


SCJP 1.2
 
 
subject: accessing dynaactionform in action class
 
Similar Threads
How to get property value for IF?
Why use DynaActionForm?
Creating Nested FormBean using DynaActionForm
what is "dynamic" form bean ?
Generating "user not found" logon error messages