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

           Summary: RequestDispatcher fails after cross context include
           Product: Tomcat 4
           Version: 4.1.27
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Write two web applications A and B.  In A, create a Servlet, AController, which 
performs an include to another Servlet, BController, in B.  BController's 
service() method contains the following code:

RequestDispatcher dispatcher = httpServletRequest.getRequestDispatcher
("test.jsp");
dispatcher.include(httpServletRequest, httpServletResponse);  

where test.jsp is a simple jsp in web app B.

Point the browser to request the BController servlet directly.  In this case, 
the jsp is properly displayed.  Now, point the browser to AController.  I would 
expect the jsp to be displayed in the same manner.  However, it fails to 
display without an exception or error from the application server.

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

Reply via email to