tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor Schneider" <rc4...@googlemail.com>
Subject Re: A Global Error Page (JSP or JSF)
Date Thu, 23 Aug 2007 15:46:58 GMT
try to put something like this into your web.xml (i hope that is what
you've been asking for):

<error-page>
    	<exception-type>java.lang.Throwable</exception-type>
    	<location>/errorPages/generalError.html</location>
</error-page>

That page should just display some message like "general error
occured, please report to webmaster... ". The error itself you then
should find in your logs.

Cheers

Gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message