File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Passing Input parameters in Struts" Watch "Passing Input parameters in Struts" New topic
Author

Passing Input parameters in Struts

Varshini Priya
Ranch Hand

Joined: Feb 17, 2008
Posts: 93

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

Joined: Dec 18, 2011
Posts: 67
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.
http://struts.apache.org/2.0.14/docs/action-chaining.html
Rajaprabhu Aravindasamy
Greenhorn

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
 
Similar Threads
Passing message parameters in struts
Bad use of an ActionForm?
Struts Validation
Non Struts App -> Struts App - use splash screen and auto forward?
Struts 2.0 validations