I use the Log Jakarta Taglib in my error page like so: <log:error message="<%=pageContext.getException().getMessage()%>" />
http://jakarta.apache.org/taglibs/doc/log-doc/intro.html -----Original Message----- From: Ashutosh Satyam [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 6:39 AM To: Struts Users Mailing List Subject: Declarative Exception handling Hi, In my struts configuration file, I have declared a global exception as mentioned below. <global-exceptions> <exception key="error.runtime" path="RuntimeError" scope="request" type="java.lang.Exception"/> </global-exceptions> I'm using the default ExceptionHandler. The idea behind defining this global exception was not to show any kind of exception on the browser. This works fine. But now I'm not able to track the reason for the failure. Tell me approach so that I can see the stack trace in the log file / system console. Currently, I'm not able to see any exceptions coming on the console. Is it a must to sub class the ExceptionHandler to achieve this? Regards, Ashutosh. "The sender believes that this E-Mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking proactive and remedial action about viruses and other defects. The sender's business entity is not liable for any loss or damage arising in any way from this message or its attachments." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]