Stephen Suen wrote: > The call to sendError should be ignored, then why a 404 error page returns? > I think maybe Tomcat overrides this behaviour or does some trick elsewhere. > Can you give me more help?
The RequestDispatcher is created in this class: http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationContext.java ApplicationDispatcher implements RequestDispatcher http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java The wrapper that checks if it is included before calling sendError is http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/core/ApplicationHttpResponse.java HTH, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]