DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.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://issues.apache.org/bugzilla/show_bug.cgi?id=25965 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2005-01-05 21:56 ------- There are two request dispatchers in this test case. The first is obtained as you describe (and works correctly) but this is not the dispatcher used to include test.jsp. A second request dispatcher is created in the service() method of the ServerServlet in server.war/context B. The code for this method is: public void service(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException { httpServletResponse.setContentType("text/html"); RequestDispatcher dispatcher = httpServletRequest.getRequestDispatcher(TEST_JSP); dispatcher.include(httpServletRequest, httpServletResponse); } The request dispatcher is obtained from the request. Because this is an include, the request is the original request that is associated the client/context A. Hence this request dispatcher cannot find test.jsp which is in context B. I would also point out that when originally investigating this bug I downloaded the test case and stepped through it line by line in a debugger to check exactly what was going on before closing it as invalid. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]