What type of your exception? Declarative <error-page> works only for non-checked (Runtime) exceptions and ServletException because servlet's doXXX method signature allows to throw only ServletException and IOException. To make this works - wrap any non Runtime exception into ServletException and rethrow it.
Originally posted by hasaN khaN: I just dont want any exception (ServletException or IOException or any other checked or unchecked exception) stack trace to be printed on the console.
I don't remember exactly how, to disable messages on the console window in Tomcat, but I believe there is a way to do it.
Could you hold this puppy for a sec? I need to adjust this tiny ad:
Gift giving made easy with the permaculture playing cards