File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml error page

 
Ricardo Lecheta
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1561
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic