This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing dynaactionform in action class
 
Similar Threads
Why use DynaActionForm?
How to get property value for IF?
Creating Nested FormBean using DynaActionForm
what is "dynamic" form bean ?
Generating "user not found" logon error messages