my dog learned polymorphism*
The moose likes Struts and the fly likes Instantiating DynaActionform Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Instantiating DynaActionform" Watch "Instantiating DynaActionform" New topic
Author

Instantiating DynaActionform

sirishree priya
Greenhorn

Joined: Jun 05, 2003
Posts: 4
Hello all,
I have the following scenerio,
I have 15 pages(screens) with previous and next in each page.I have written action mapping for both next and previous of each page in struts-config.xml and have a common Action page.In the config file I have separate form bean declaration for each page and form-bean having type of org....DynaActionForm.
My question is, in the action I am saving the fields of the current page and forwarding the request to next page when next is hit.Now before forwarding the request I want to populate the next page fields.So how do I get the reference or instantiate the DynaActionForm ( as the form which I have in action execute is having field of current page and not next page's)
Any help is greatly appreciated
Thanks in advance
Priya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Instantiating DynaActionform