Frank L. Bowar wrote:

I have 3 different Struts (1.1) web applications all running in the same
Tomcat (4.1) server. When the user presses a button on a form of one of
the applications, tied to a Struts Action, I would like that Action to
be able to forward control to an Action within a different web
application, which would build the page and display it to the user. I
would like this new application to be able to "remember" who called it, and at some point, when the user
presses a button that says "Return to original application", the new
application will forward the user back to the original application
at/near the point where they first left it.




I'm not following Tomcat development closely any longer, but I seem to recall that cross-context request dispatcher calls were fraught with problems up until very recent releases of 5.0.x. To make matters more intricate in your case, 4.1 is now in maintenance mode, so it's unlikely that a bug report against it would get much attention either. If you can try this against 5.0.19 or later, I wouldn't be surprised if it works.

As a fallback, consider using redirects instead of forwards.

Craig

PS: Anyone who is running Tomcat 4.x and has the ability to upgrade should really look at this ... 5.x is more stable, faster, backwards compatible (for Servlet 2.3 / JSP 1.2 based applications), plus it enables you to use JSP 2.0 for new stuff.


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



Reply via email to