*
The moose likes Struts and the fly likes How do I pass data between Struts forms? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How do I pass data between Struts forms?" Watch "How do I pass data between Struts forms?" New topic
Author

How do I pass data between Struts forms?

Kim Kantola
Ranch Hand

Joined: May 17, 2001
Posts: 274
Hello,
My question is,if I have a Struts action which creates an Object, and I set that object to a form, if a hyperlink is clicked on my page which forwards to a new action forward, how do I get that Object to the new action and form? So far, I have just been putting the object into the session after it is created, but it seems that there should be a better way. The Object is not a String, so I do not think I can append it to the action.do hyperlink like I normally do with a String parameter (dothisaction.do?param=x) . Is that true?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I pass data between Struts forms?
 
Similar Threads
Struts 1.3 with html:file tag
HttpServletRequest got lost
Saving user enter values in a form
Retrieving information from previous page's form
form submitting on html link