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
request/reply?

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

-Adam Parker

Reply via email to