You can use an error page to display when an exception occurs. This
can be configured in web.xml.
for eg.
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/internalError.html</location>
</error-page>
it can be used with HTTP error status also. The following displays
invalidpage.html if a page is not found.
<error-page>
<error-code>404</error-code>
<location>/invalidpage.html</location>
</error-page>
On Thu, 31 Mar 2005 13:22:40 +0200, Andreas Andersson
<[EMAIL PROTECTED]> wrote:
> 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]
>
>
--
rgds
Antony Paul
http://www.geocities.com/antonypaul24/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]