RE: excpetion chaining to custom exception handler issue

2009-09-17 Thread Denny Erinjery
Users Mailing List Subject: RE: excpetion chaining to custom exception handler issue Hi Wes, Appreciate your reply, thanks for checking the issue. I'm sure that my exception handling action class is not throwing an exception by itself. I have a general try-catch on that and it never fall

RE: excpetion chaining to custom exception handler issue

2009-09-16 Thread Denny Erinjery
class(this time using "redirectAction") So that the url get set to the exception url, but that also not helping me much. Even though the url set to exception handler, a refresh on that still shows struts 500 error. Thanks for all help guys.. -Denny -Original Message-

Re: excpetion chaining to custom exception handler issue

2009-09-11 Thread Wes Wannemacher
ginal Message- > From: Denny Erinjery [mailto:denny.erinj...@timelink.com] > Sent: Thursday, September 10, 2009 3:04 PM > To: Struts Users Mailing List > Subject: excpetion chaining to custom exception handler issue > > HI, > I'm using a global exception handler action class t

RE: excpetion chaining to custom exception handler issue

2009-09-11 Thread Denny Erinjery
after checking the chaininghistory Thanks -Original Message- From: Denny Erinjery [mailto:denny.erinj...@timelink.com] Sent: Thursday, September 10, 2009 3:04 PM To: Struts Users Mailing List Subject: excpetion chaining to custom exception handler issue HI, I'm using a global exception hand

excpetion chaining to custom exception handler issue

2009-09-10 Thread Denny Erinjery
HI, I'm using a global exception handler action class to get the exception details and display it on a custom error page. Following is the struts xml configuration UnhandledExceptionHa

Re: Global-exception handler

2008-10-10 Thread stanlick
How about this instead -- Is the ActionContext exposed to a JSP other than using the static getContext() method? stanlick wrote: > > I have a global exception handler registered, which is itself an action > mapping. I am trying to ascertain what happened by

Exception Handler

2007-10-23 Thread Arun
Hi, I have a problem running the exception handler in struts 1.3 . I am using struts modules config/useraccount, config/blogdigest ..etc defined in web.xml duly. I have set an exception Handler for java.lang.Exception And In the exception handler I wrote public class

1.3.5 - Exception handler ignoring 'bundle' attribute?

2006-09-01 Thread Scott Van Wart
I can't get the exception handler in struts-config.xml to use the 'bundle' attribute: It always tries to look in the default (MessageResources.properties). Is this a known issue or am I doing something

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Michael Davis
Thanks for your prompt replies! I will try supplying my own exception handler. Looking at the struts source code for the exception handler, I see: // Figure out the error if (ex instanceof ModuleException) { error = ((ModuleException) ex).getActionMessage

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Mark Shifman
What I do is log the exception and the stack trace and then let the super do the rest. Since I was getting null comming up on the error page, I check the exception message and if it is null I at least show the name of the exception class name on the error page (probably not too pretty but..) T

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Frank W. Zammetti
With the caveat that I looked at things for all of 30 seconds so I could be WAY wrong... Looking at the Struts source, the RequestProcessor.processException() method is where your custom handler gets called from. I notice that the request attribute is NOT set there. In fact, there is no referenc

Re: global exception handler sometimes gets a null exception

2006-02-02 Thread Vladislav Pernin
Maybe it happens when the error is not thrown by Struts, so try to use the JSP directive <%@ page isErrorPage="true" %> which give you access to the implicit variable exception. You can also use a exception handler : package com.ddd; public class GlobalExceptio

global exception handler sometimes gets a null exception

2006-02-02 Thread Michael Davis
Hello, I'm working on a struts application which has just been deployed and is being used by a large number of users. I've got an error handler set up using the global-exceptions tag. It sends me an email whenever it catches an exception. My config looks like this:

Re: Exception Handler

2005-06-06 Thread Leandro_Dorileo/ABACO
a de Informação Ltda Qualidade: Um Compromisso de todos! ( (0xx65) 617-0777 ( FAX 623-0646 Joe Germuska <[EMAIL PROTECTED]> 03/06/2005 13:57 Para Leandro_Dorileo/[EMAIL PROTECTED], user@struts.apache.org cc Assunto Re: Exception Handler At 1:41 PM -0400 6/3/05, Leandro_Dorileo/[EM

Re: Exception Handler

2005-06-03 Thread Joe Germuska
At 1:41 PM -0400 6/3/05, Leandro_Dorileo/[EMAIL PROTECTED] wrote: I'm working in a project where I'm planning to use my own implementation of ExceptionHander, I know that I need extend the org.apache.struts.action.ExceptionHandler and overwrite the execute method, I also know that I need use the

Exception Handler

2005-06-03 Thread Leandro_Dorileo/ABACO
I'm working in a project where I'm planning to use my own implementation of ExceptionHander, I know that I need extend the org.apache.struts.action.ExceptionHandler and overwrite the execute method, I also know that I need use the taglib and configure my action to work with my own ExceptionHan

RE: struts exception handler

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leandro Melo [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 9:54 AM > To: struts jakarta > Subject: struts exception handler > > > I got this from struts page. > "Don't throw it, catch it! - Ever used

struts exception handler

2004-09-01 Thread Leandro Melo
rn the appropriate ActionForward.". But what about struts mecahnism of handling exceptions? I`m really used to throw exceptions from my actions and let the configurabled exception handler (i actually use the default one) take care of the rest.

RE: Exception Handler Help!

2004-08-24 Thread Keith Bottner
18hours looking at the screen must have got to me, now to sleep. Thanks again, Keith -Original Message- From: Jitender K Chukkavenkata [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 7:49 AM To: Struts Users Mailing List Subject: Re: Exception Handler Help! Hei Keith, Could

Re: Exception Handler Help!

2004-08-24 Thread Jitender K Chukkavenkata
Hei Keith, Could you be little detail regarding struts-config.xml...what is errors.do?? Jitender Kumar C.V.

RE: Exception Handler Help!

2004-08-24 Thread Paul McCulloch
ottner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 11:43 AM > To: Struts Users Mailing List > Subject: Exception Handler Help! > > > Configuration of global exceptions looks very simple. So I > cannot understand > why the configuration of my global-exception ref

Exception Handler Help!

2004-08-24 Thread Keith Bottner
Configuration of global exceptions looks very simple. So I cannot understand why the configuration of my global-exception refuses to pick up any exceptions. If an error occurs I just get the blank white page. Here is my global-exception configuration section. Then I have a global-forward

Re: Exception handler question

2004-08-23 Thread Sebastian Ho
> > > > > After some reading i have a few questions (please mark > > > > True of False on my sentences , naturally comments are > > > > welcome!). > > > > > > > >* It seems to me that Struts has a very nice way > > > > to deal wit

Re: Exception handler question

2004-08-23 Thread Craig McClanahan
very nice way > > > to deal with Exceptions, and i actually should use > > > that. > > > > True ! > > > > > > > >* Is it nice to have locals exceptions handlers > > > for my Action, or i should just have a few (or one) > > >

Re: Exception handler question

2004-08-23 Thread Sebastian Ho
at Struts has a very nice way > > to deal with Exceptions, and i actually should use > > that. > > True ! > > > > >* Is it nice to have locals exceptions handlers > > for my Action, or i should just have a few (or one) > > global Exception Handle

Re: Exception handler question

2004-08-09 Thread Kishore Senji
ave locals exceptions handlers > for my Action, or i should just have a few (or one) > global Exception Handler? True (If required) Having LocalException Handlers will give the functionality of handling a particular exception differently, if required. > >* When do i need to ov

Exception handler question

2004-08-09 Thread Leandro Melo
It seems to me that Struts has a very nice way to deal with Exceptions, and i actually should use that. * Is it nice to have locals exceptions handlers for my Action, or i should just have a few (or one) global Exception Handler? * When do i need to override ExceptionHandler? I couldn&#x