File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I pass data between Struts forms?

Kim Kantola
Ranch Hand
Posts: 276
  • 0
  • 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?
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic