https://issues.apache.org/bugzilla/show_bug.cgi?id=56215
Bug ID: 56215 Summary: sendError doesn't send error page with AsyncContext Product: Tomcat 7 Version: 7.0.50 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API Assignee: dev@tomcat.apache.org Reporter: alexalta...@gmail.com This bug is closely related to 51197 (sendError/sendRedirect don't work with AsyncContext). It can be reproduced in the test for 51197, which was created by the reporter of that bug and can be found here: https://github.com/dcheckoway/async-test To reproduce this bug, run the test servlet on Tomcat 7, and hit the "/test/error1" endpoint. This should return a 400 and a related error page. It does indeed return a 400, but not an error page. For the record, this isn't tested by the associated test, namely doTestBug51197 on line 1180 on this file: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java?view=markup&pathrev=1290875 The test only checks that the endpoint returns and that the status code is correct. The problem, though, is that no error page is generated. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org