This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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