wood burning stoves 2.0*
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?
 
Consider Paul's rocket mass heater.
 
subject: How do I pass data between Struts forms?