Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

accessing dynaactionform in action class

 
k srinivas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic