aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: pass action form object from one action to another
 
Similar Threads
jQuery UI tabs not loading in the same tab
Handle session ID after deleting cookies
struts 2 tabbed panel
session issue with multi tabs in a browser
How to transfer Objects from JSP to a Servlet?