File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml error page" Watch "web.xml error page" New topic
Author

web.xml error page

Ricardo Lecheta
Greenhorn

Joined: Dec 23, 2003
Posts: 7
Hello,
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.
thanks

[ 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
 
wood burning stoves
 
subject: web.xml error page