This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes struts forward pass parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts forward pass parameters" Watch "struts forward pass parameters" New topic

struts forward pass parameters

rob harvey

Joined: Apr 05, 2002
Posts: 25
Hi - is there still no support for passing parameters on accross forwards - i.e. I call an action with a parameter and i then want to call my lookupdispatchaction with the parameters the original was passed.
Will i still just have to create a subclass of ActionForward and manipulate the path myself?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
There has always been a way to pass parameters on to the next action:

If you want to pass parameters from a JSP, just include the parameters as hidden fields and they will be passed when the form is submitted.
[ June 13, 2006: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
Have you checked out Aspose?
subject: struts forward pass parameters
It's not a secret anymore!