users@jersey.java.net

Tomcat 5.5 Customize Error Page With Jersey 0.4

From: Hien Luu <hluu_at_yahoo.com>
Date: Wed, 12 Dec 2007 07:22:04 -0800 (PST)

Hi All,

I am using Jersey 0.4 with Tomcat 5.5 and I would like my application to override Tomcat's default error page when the status code is 400, 404, etc. The <error-page> in web.xml approach doesn't seem to work for me, but it works fine in another web application w/o jersey 0.4. I don't believe jersey plays any role in this problem.

Has anyone successfully able to override Tomcat's default error page using <error-page> approach in your jersey powered application?

Thanks in advance,

Hien