aspose file tools
The moose likes Servlets and the fly likes web.xml error page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml error page" Watch "web.xml error page" New topic

web.xml error page

Ricardo Lecheta

Joined: Dec 23, 2003
Posts: 7
I put a <error-page> in my web.xml, but it doesn't work.
I continue receiving the default message from the browser,
but I would like that my "default error page" to be shown.
I'm using tomcat-4.1.29.

[ January 19, 2004: Message edited by: Ricardo Lecheta ]
[ January 19, 2004: Message edited by: Ricardo Lecheta ]
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
what about in your jsp's?
are u using:
<%@page errorPage="yourPage" %>
and your actual error page should also have:
<%@page isErrorPage="true" %>
Hope this helps

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
I agree. Here's the link:
subject: web.xml error page