You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jim Michael <JM...@chesterfield.mo.us> on 2002/06/26 18:04:21 UTC

Tomcat equivalent of ErrorDocument?

I searched the archives but could not find an anser to this... I'm aware
of the <error-page> tags that can be added to a deployment descriptor
for a web app, so that I can trap 404's and the like within the app...

But what about trapping a "500 - no context configured to process this
request" error? I want my Tomcat-based web site to show a friendly page
when such an error occurs vs the ugly tomcat one... is this possible?
Obviously the deployment descriptor won't work here, as the above error
gets thrown when you try to reference a resource ivia a *invalid*
context.

Is there a solution, or do I live with the un-friendly 500 error?

Jim

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>