How to specify the default error page in web.xml?

On Servlet 3.0 or newer you could just specify But as you’re still on Servlet 2.5, there’s no other way than specifying every common HTTP error individually. You need to figure which HTTP errors the enduser could possibly face. On a barebones webapp with for example the usage of HTTP authentication, having a disabled directory … Read more