tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Parker" <>
Subject servlet init error pages
Date Tue, 13 Nov 2007 23:19:03 GMT
I am trying to override tomcat error pages, and I have tried various
combinations of the <error-pages> element in both the global web.xml, and my
application web.xml.  Nothing is working.

After some research I believe the problem is that the error I am looking at
actually occurs in the servlet.init(config) call.  This call doesn't seem to
happen in the normal request processing loop, and hence the <error-pages> is
never used and a generic tomcat error is returned.

Is there anyway to override this error even when outside the context of a

Any info on how the error is returned without a request/reply would be
greatly appreciated.

-Adam Parker

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message