You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ionel Gardais <io...@geomath.fr> on 2003/06/25 11:21:44 UTC

dispatching actionForm and httprequest parameters

Hi,

I am using a DispatchAction to switch between tasks.
For one of my methods, I forward to another Action (a simple action, not 
a dispatch action)

Unfortunatly, the form and the request parameters that I can retrieve in 
the dispatch action's method are not available in the second action 
parameters list.

Is there a way to forward form and request parameters too ?

thanks,
ionel



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: dispatching actionForm and httprequest parameters

Posted by Ionel Gardais <io...@geomath.fr>.
it is a forward.

the target is available in struts-config.xml and the dispatchaction only 
does a return mapping.findForward("target");

is it considered as the same request ?

thanks,
ionel


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: dispatching actionForm and httprequest parameters

Posted by Affan Qureshi <qu...@etilize.com>.
Do you "forward" to the second action or "redirect"? They should be
available as long as it is the same request.

Affan

----- Original Message -----
From: "Ionel Gardais" <io...@geomath.fr>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, June 25, 2003 2:21 PM
Subject: dispatching actionForm and httprequest parameters


> Hi,
>
> I am using a DispatchAction to switch between tasks.
> For one of my methods, I forward to another Action (a simple action, not
> a dispatch action)
>
> Unfortunatly, the form and the request parameters that I can retrieve in
> the dispatch action's method are not available in the second action
> parameters list.
>
> Is there a way to forward form and request parameters too ?
>
> thanks,
> ionel
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org