You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "White, Joshua A (HTSC, CASD)" <Jo...@thehartford.com> on 2003/07/16 15:14:54 UTC

how to catch struts taglib exceptions

I have set up a global error handler in my web xml file which should capture
ServletExceptions.

When a struts tag throws an exception, it seems to be ignored.

The following output appear on the page:

[ServletException in:/WEB-INF/jsp/formLogin.jsp] Cannot find message
resources under key org.apache.struts.action.MESSAGE' 

I have not looked at the code for this tag myself, but it looks like the tag
is catching the error itself and then writing this message to output stream.

How can I change this behavior?

Joshua








This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org