tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25965] - RequestDispatcher fails after cross context include
Date Wed, 07 Jan 2004 19:28:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25965>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25965

RequestDispatcher fails after cross context include





------- Additional Comments From sdgoldst@mailandnews.com  2004-01-07 19:28 -------
I believe that you misunderstood the bug.  I'm trying to include a jsp file 
within the same application.  The basic flow is:

AController (Web App A) --> BController (Web App B) --> test.jsp (Web App A)

The first include is acheived through the following code:

ServletContext bServletContext = getServletContext().getContext(B_CONTEXT_ROOT);
RequestDispatcher requestDispatcher = bServletContext.getRequestDispatcher
(B_CONTROLLER_SERVLET_PATH);
requestDispatcher.include(httpServletRequest, httpServletResponse);

I'll bring it up on the mailing list, though, as you suggested.  I apologize 
for not doing this first.

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


Mime
View raw message