At 12:52 PM 8/20/2003 -0500, you wrote:
On another note... is there an easy way to have the site display a
"friendly" error message, rather than this daunting Horrible Exception?

Hi Gence,


This is pretty simple. Just set the following up in your web.xml....


<error-page> <exception-type>java.lang.Throwable</exception-type> <location>/error.jsp</location> </error-page>

You could have separate error pages for more specific exceptions or error codes as well....

<error-page>
   <error-code>404</error-code>
   <location>/customnotfound.jsp</location>
</error-page>

later,

Jake


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



Reply via email to