How to show user-friendly error page instead of tomcat log with stack trace in browser when runtime
- by Roman
I'm developing web-application with JSF. I tested it as I was able to but from time to time runtime exceptions are thrown.
So, how to redirect user to special error page every time an exception is thrown (instead of displaying 500 Error with full tomcat logs)?