struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pat <>
Subject Re: action forward to servlet
Date Mon, 30 Apr 2007 21:17:19 GMT
Hi Felipe
Thanks, that I got.  My conceptual difficulty is I dont see how to define a global forwards
for the servlet and call it in my request.mapping.FindForward("forwardToServlet"), or maybe
it is brain-fade

Felipe Rodrigues <> wrote: 
Preserver de session?
Session is already preserved. Did you try that?
To get values from session in your servlet you must use Session ses =
Than you have your session object. Parameters from request? You should use
To get Action fields, well I'm not sure what struts you're using, but maybe
you can use ActionContext class to get that.



cpanon wrote:
> Hello
> Is/how it possible to forward from a action to a servlet at another url
> and preserve the parameters and session objects?  I am doing all the
> processing in the Action and just simply need to send a data stream back. 
> I can do it with servlets, but cant seem to do it with an action and a
> servlet.  Can someone help me understand?  tia.

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message