This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes pass action form object from one action to another Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "pass action form object from one action to another" Watch "pass action form object from one action to another" New topic
Author

pass action form object from one action to another

nave nike
Greenhorn

Joined: Dec 29, 2009
Posts: 3
I have 2 action classes which share the same action form. I have defined the action form in request scope for both of them. Can you please tell me how to transfer this form object from 1st action to 2nd action.


I am avoiding sessions due to IE shares the same session across windows/tabs.

Employee Management app:
When admin edits an employee, it has 3 tabs. Personal, Education, Background.
Each tab represents an action class, which all share the employeeForm action form class. So when admin is on Personal tab, it populates the employeeForm object with all the employee related data. Please tell me how to transfer this object from one tab to another, so that I dont hit the DB again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pass action form object from one action to another