Suppressing Tomcat servlet errors
You can suppress servlet errors and redirect them to custom error pages.
About this task
To provide user-friendly error pages for your users, you can modify your configuration to suppress the default error messages that are generated from your servlets and web application server and redirect them to custom error pages.