Write stuff like this into your app's web.xml file.

<error-page>

<error-code>404</error-code>

<location>/common/notFound.html</location>

</error-page>

<error-page>

<error-code>403</error-code>

<location>/common/file.html</location>

</error-page>

<error-page>

<error-code>500</error-code>

<location>/common/error.html</location>

</error-page>



Viorel Dragomir

.
..
-------------------------------------------------------------------



----- Original Message ----- 
From: Andreas Andersson 
To: Tomcat Users List 
Sent: Thursday, March 31, 2005 13:22
Subject: remove stack-trace from public web


Hi!

Is there anyway to make tomcat not print the stack trace when jsp fails?

-- 
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
http://www.travelstart.se

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to