users@jersey.java.net

Re: Tomcat 5.5 Customize Error Page With Jersey 0.4

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 13 Dec 2007 11:08:39 +0100

Hi Hien,

Not sure what is going on, i won't have time to help investigate until
next week.

Does Tomcat return an error page as the representation if the
application returns say a 404 response with its own representation?

Paul.

Hien Luu wrote:
> 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

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109