What is an 'error dispatch' in servlet processing?
The javadoc of the javax.servlet.AsyncContext interface says: In the event that an asynchronous operation has timed out, the container must run through these steps: Invoke, at their onTimeout method, all AsyncListener instances registered with the ServletRequest on which the asynchronous operation was initiated. If none of the listeners called complete() or any of the dispatch() methods, perform an error dispatch with a status code equal to HttpServletResponse.SC_INTERNAL_SERVER_ERROR . If no matching error page was found, or the error page did not call complete() or any of the dispatch()