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=24554>.
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=24554

RequestDispatcher.include() operation erratic

           Summary: RequestDispatcher.include() operation erratic
           Product: Tomcat 5
           Version: 5.0.14
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have a web application that performs:

RequestDispatcher rd=req.getRequestDispatcher("OutputCurrentWeek.html");
if (rd==null) {
        WebApp.log("Error getting RequestDispatcher for Include in
ViewCal!",new Exception());
} else {
        rd.include(req,res);
}

When the context is not root (i.e. /calendar) the code executes normally and the
included servlet is displayed.

When the context is a ROOT context, the output of the included servlet is not
created, even though the RequestDispatcher returned is not null.

When testing under Tomcat 4.1.29, the code worked with ROOT and non-ROOT contexts.

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

Reply via email to