Custom error page for all errors

2014-08-19 Thread Mark Haroldson
Is there a way to route all errors to a single web page? Something like: error-page error-codeall/error-code locationmyerror.jsp/location /error-page Basically I want to control the content of everything that goes out of my service. Thanks Mark

Re: Custom error page for all errors

2014-08-19 Thread Mark Thomas
On 19/08/2014 21:05, Mark Haroldson wrote: Is there a way to route all errors to a single web page? Leave out the error-code tag and you define the default error page. That will work in Tomcat 8 and I think in 7 as well. Mark Something like: error-page