struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Walter <tx_scottwal...@yahoo.com>
Subject Re: exception handling
Date Wed, 21 Mar 2001 23:13:09 GMT
You could use the JSP error handling mechanism to
display a friendly message instead of the stacktrace. 
Within the error handling page you could log the
exception to the file system or a database.

Look into the page directive tag, in particular the
isErrorPage and errorPage attributes.

scott.
--- s l <sipingliu@yahoo.com> wrote:
> Is there a way to catch exceptions throw
> in bean's getter methods (so we don't have
> to see the stack trace on web page)?
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/


=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scott

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message