On Wed, 28 Mar 2001, Kevin Jones wrote:
> Can I configure the way that TC interprets this API?
>
> I was thinking I'd like to fully format the output of the error, but TC4
> builds an HTML response and includes whatever I write as part of that
> string. Is there a way to override this?
>
> Kevin Jones
> DevelopMentor
> www.develop.com
>
>
You can define an <error-page> declaration in your web.xml file for
whatever status codes you are returning, and then it is totally up to you
to create the response page. Tomcat will pass in important information
about where the error happened in the request attributes outlined in the
spec.
Craig McClanahan