struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <cedric.dumou...@lifl.fr>
Subject Re: Including parameters in Forward
Date Tue, 23 Jul 2002 08:51:47 GMT

  Try something like this:
  <forward name="success"  
path="/Admin/main.jsp?param1=aValue&param2=aValue"/>

   Cedric

Christian Pich wrote:

> How do specify additional parameters in the forwarding, e.g.
> for one of my actions I have
> <forward name="success"  path="/Admin/main.jsp"/>
> but I would like to add parameters.
> I can add them in the Action Servlet manually by retrieving
> the path of the mapping (mapping.findForward("success").getPath())
> and then add my parameters and create a new ActionForward.
> Is there a better way to do this?
> How does Struts envison this?
>
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:struts-user-help@jakarta.apache.org>
>



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


Mime
View raw message