This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
The error page mechanism described does not intervene when errors occur when invoked using the RequestDispatcher or filter.doFilter method. In this way, a filter or servlet using the RequestDispatcher has the opportunity to handle errors generated.
What does this mean?
If I have a web.xml with customized <error-page> section and I use sendError from a doFilter method, will the custom or the default error page be shown?
On the other hand how is it possible to skip the customized <error-page> and return for example 404? Use setStatus?