Disable public Tomcat6 stack trace
- by The NinjaSysadmin
Can anyone advise me how I can go about disabling Tomcat6 from displaying stacktrace output to the browser?
Tomcat: 6.0.29
I have made the following changes to /opt/apache-tomcat-6.0.29/conf/web.xml
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/error.jsp</location>
…