I tried this and got the following exception

java.lang.IllegalStateException: Configuration is frozen        
at org.apache.struts.config.ForwardConfig.setPath(ForwardConfig.java:208)

at
com.sbec.folderview.po.actions.UploadPoDocument.perform(UploadPoDocument.jav
a:80)

-----Original Message-----
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 1:59 PM
To: Struts Users Mailing List
Subject: RE: forwarding to action needing different request parameters


I think you can do this: get the ActionForward object as usual. Then use the
ActionForward's getPath and setPath methods to add the rest of your params
as query string parameters to the original path. This I am pretty sure will
work.

But if you want to look at a nicer solution, maybe the RequestProcessor may
have something to do this.. (I am not sure of this since I have not done
it.)

regards,
Geeta

> -----Original Message-----
> From: Nimmons, Buster [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 2:56 PM
> To: Struts2 (E-mail)
> Subject: forwarding to action needing different request parameters
> 
> 
> I have an Action which is usualy accessed from an html form page... It
> requires 4 request parameters. I need to forward to this 
> action from another
> action but the action I'm forwarding from does not have all 4 
> of the reuired
> request parameters. I know what the value of the parameters 
> should be but I
> cannot put them in the request scope unless I use 
> request.setAttribute()
> however the action being forwarded to is not looking for the required
> parameters from the Attributes but the requestParametes.. has 
> anyone figured
> out an easy way to modify the available requestParameters 
> before forwarding
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to