Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I pass data between Struts forms?

 
Kim Kantola
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic