cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <>
Subject [C1] Get TomCat to handle Errors & Exceptions?
Date Mon, 26 Mar 2001 14:24:54 GMT
Dear All,

Reading the Servlet 2.2 spec, it appears that it should be possible to map
HTTP error-codes and Java Exceptions to specific pages, in my context's

I have been trying to set this up, with no success.

1. Turn off internal error handling in

		handle.errors.internally = false

2. Add error handlers in web.xml



3. Tried switching off TomCat's stacktrace in server.xml

		<ContextManager debug="0" workDir="work" showDebugInfo="false" >

4. Made an XSP page that throws a java.lang.NullPointerException


Never see my error pages.
TomCat shows it's default error page
TomCat loops indefinitely (cannot reproduce this result now ......)

Has anyone managed to get this working?
What am I doing wrong?

Thanks for any help

regards Jeremy

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <>     		 <>
    <phone:+44.[0].20.7737.6831>        <>

To unsubscribe, e-mail:
For additional commands, email:

View raw message