> I have two distinct Struts applications running in Tomcat between which I
> would like to forward a request. I have not been able to create a forward
> to
> do this. I was able to do this with multiple modules within the same
> application, but I would like to be able to forward the request from one
> struts application to another and still have visibility to the request
> attributes.
>
> Is this possible? If so, how? Examples would be much appreciated.

Not that I've ever done it but the api. says it's possible, get a 'handle'
on another context using the getContext(String) method of ServletContext,
then use the ServletContext returned to get the associated
RequestDispatcher. You'll need to set the Context's crossContext to true
to make this work using Tomcat:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html

James Williamson
www.nameonthe.net


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

Reply via email to