RE: Global Exception Handling in struts2

2009-07-20 Thread surya.mulakala
Yeah. I have seen it. But I'm not able to understand what you are trying to say. I'm new to struts2. Thanks and Regards, Surya -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Monday, July 20, 2009 8:27 PM To: Struts Users Mailing List Subject:

Re: Global Exception Handling in struts2

2009-07-20 Thread Dave Newton
Did you see the rest of the comment I put in JIRA? Dave surya.mulak...@wipro.com wrote: Hi, We are using struts2.1.6, Spring and Hibernate in our application. For handling exceptions in application, we are using global exception mappings in struts2. Whenever an exception is coming in the app

Re: Global Exception Handling in struts2

2009-07-20 Thread surya.mulakala
Hi, We are using struts2.1.6, Spring and Hibernate in our application. For handling exceptions in application, we are using global exception mappings in struts2. Whenever an exception is coming in the application it is taking us to required action and the functionality is working . But in weblogic

Re: Global exception handling prevents logging

2008-12-19 Thread Marsman
Paul Benedict-2 wrote: > > If you want both, create a logger in your handler and log the > exception given to you. > Which "handler" do you mean? I've configured a global-exception-mapping and a JSP will be directly shown to the user, if any not handled exception occurs. Titus -- View this

Re: Global exception handling prevents logging

2008-12-19 Thread Marsman
Paul Benedict-2 wrote: > > If you want both, create a logger in your handler and log the > exception given to you. > Which "handler" do you mean? I've configured a global-exception-mapping and a JSP will be directly shown to the user, if any not handled exception occurs. Titus -- View this

Re: Global exception handling prevents logging

2008-12-18 Thread Paul Benedict
If you want both, create a logger in your handler and log the exception given to you. On Wed, Dec 17, 2008 at 4:27 AM, Marsman wrote: > > Hi! > > As mentioned in my Struts 2 guide, I've coded a general error page for > unexpected errors and included it over the global-message-mapping > configurat

Re: Global exception handling

2007-10-12 Thread Dave Newton
--- [EMAIL PROTECTED] 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

Re: global exception handling - struts sometimes ignores my setting in struts-config, what's wrong?

2007-08-14 Thread Marek Cupak
I've reduced my real problem to a simple somepackage.CustomException example. In my real application, there are actions, such: where the action class is: public final class SpikeAction_3rdLayerEx extends Action { private static Logger logger = Logger.getLogger(SpikeAction_3rdLayerEx.c

Re: global exception handling - struts sometimes ignores my setting in struts-config, what's wrong?

2007-08-13 Thread Zarar Siddiqi
Struts isn't catching this exception because you're throwing it in a JSP page which is being accessed outside the Struts servlet (directly via a URL). Try throwing the exception in a Struts action and see what happens. But even if you do that you'll run into a problem with the current setup. You'