This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes How to transfer form bean data from one action to another? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "How to transfer form bean data from one action to another?" Watch "How to transfer form bean data from one action to another?" New topic
Author

How to transfer form bean data from one action to another?

Ankit Shukla
Greenhorn

Joined: Jul 19, 2011
Posts: 6
First of all apologies if this is not the right forum to be posting this..
The problem is that I have a jsp(UserAdd.jsp) wherein a user is being registered. There is a link on the jsp which takes me to another action that takes me to another jsp(AssociateHospital.jsp) where the user can be associated to some organization.From there, I am directed back to UserAdd.jsp with the value of the selected organization.But the data which I had entered in the form fields of UserAdd.jsp vanish upon return. I guess the problem lies in struts-config.Someone please help.



Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56191
    
  13

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to transfer form bean data from one action to another?
 
Similar Threads
Data of previous form gets submitted on refersh
Struts2 file upload resets form if maxsize exceeds
'POST'ing parameters to another JSP
Printing information based on a query from a user
Submit button