Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I pass data between Struts forms?  RSS feed

Kim Kantola
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 hyperlink like I normally do with a String parameter ( . Is that true?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!