Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing Input parameters in Struts

 
Varshini Priya
Ranch Hand
Posts: 95
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I require some help in passing input parameters in my struts application. I have a struts application, where the input information provided by the user needs to be passed to two different jsp pages /action classes. Can you please let me know how to acheive the same.

Thanks in advance

 
Swapna latha
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you please share the code ! so that i can help. Tell me the exact scenario so that i can help.
 
Nitin Surana
Ranch Hand
Posts: 129
Java Netbeans IDE Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to chain actions.
http://struts.apache.org/2.0.14/docs/action-chaining.html
 
Rajaprabhu Aravindasamy
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use a hidden fields in a form to accommodate the values...!
and you can use it in the next jsp page/Action class by submitting that form by using Java script..!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic