File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
I agree. Here's the link:
subject: struts forward pass parameters
It's not a secret anymore!