How to show user-friendly error page instead of tomcat log with stack trace in browser when runtime

Posted by Roman on Stack Overflow See other posts from Stack Overflow or by Roman
Published on 2010-04-30T23:29:55Z Indexed on 2010/04/30 23:37 UTC
Read the original article Hit count: 163

Filed under:
|
|
|
|

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)?

© Stack Overflow or respective owner

Related posts about java

Related posts about jsf