You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by dm...@ubs.com on 2007/10/12 20:24:50 UTC

Global exception handling

Hi,

 

I see some strange behavior in handling global exceptions in RAD 7.0. I
load my InitSrvlet through WEB.xml
(<load-on-startup>-1</load-on-startup>) to perform an app initialization
from property files. Once this servlet is loaded, it effects struts
global exception handling. Defined global exceptions are not caught by
struts. If I would disable load of the servlet, global exceptions are
handled normally. Does anyone know what could cause this behavior?

 

Thanks,

Dmitry.


























Please do not transmit orders or instructions regarding a UBS account by e-mail. The information provided in this e-mail or any attachments is not an official transaction confirmation or account statement. For your protection, do not include account numbers, Social Security numbers, credit card numbers, passwords or other non-public information in your e-mail. Because the information contained in this message may be privileged, confidential, proprietary or otherwise protected from disclosure, please notify us immediately by replying to this message and deleting it from your computer if you have received this communication in error. Thank you.



UBS Financial Services Inc.

UBS International Inc.

UBS Financial Services Incorporated of Puerto Rico

Re: Global exception handling

Posted by Dave Newton <ne...@yahoo.com>.
--- dmitry.rubenchik@ubs.com wrote:
> Once this servlet is loaded, it effects struts
global
> exception handling. Defined global exceptions are
not
> caught by struts. If I would disable load of the 
> servlet, global exceptions are handled normally.
Does
> anyone know what could cause this behavior?

If you create a "do-nothing" servlet and load it on
startup does the same behaviour occur?

d.


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