File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Passing Input parameters in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Passing Input parameters in Struts" Watch "Passing Input parameters in Struts" New topic

Passing Input parameters in Struts

Varshini Priya
Ranch Hand

Joined: Feb 17, 2008
Posts: 94


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

Joined: Dec 18, 2011
Posts: 70
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

Joined: Jan 21, 2011
Posts: 129

You need to chain actions.
Rajaprabhu Aravindasamy

Joined: Dec 26, 2011
Posts: 25
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..!
It is sorta covered in the JavaRanch Style Guide.
subject: Passing Input parameters in Struts
It's not a secret anymore!