Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

web.xml error page

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic