struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "White, Joshua A (HTSC, CASD)" <Joshua.Wh...@thehartford.com>
Subject RE: Unable to catch ServletException
Date Thu, 10 Jul 2003 17:33:55 GMT
You are correct.  The servlet exception is wrapping a JSPException (which is
coming from the struts bean define tag).

If stuts cannot find a declared exception handler for the root cause,
shouldn't the ServletException still be handled by the declared exception
handler for the ServletException?

Joshua




-----Original Message-----
From: Mike Jasnowski [mailto:mjasnows@bea.com]
Sent: Thursday, July 10, 2003 10:28 AM
To: Struts Users Mailing List
Subject: RE: Unable to catch ServletException


I imagine this exception is not originating from your tag. Does the
servletexception wrapp another exception which may be from your tag?

-----Original Message-----
From: White, Joshua A (HTSC, CASD) [mailto:Joshua.White@thehartford.com]
Sent: Thursday, July 10, 2003 10:25 AM
To: 'Struts Users Mailing List'
Subject: Unable to catch ServletException


I have a struts tag which is throwing a servletexception.  I have tried to
catch this exception by defining it as a global exception and waiting for it
to bubble up but the jsp page prints the stack trace to the screen
regardless.  Any ideas?

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



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


Mime
View raw message