:
> I tried this
>
>
>
> In the action, I receive the exception but not the request, request is
> null, why?
>
> -Louis
>
>
>
>
> From: Greg Lindholm
> To: Struts Users Mailing List
> Sent: Tuesday, August 25, 2009 6:21
I tried this
In the action, I receive the exception but not the request, request is null,
why?
-Louis
From: Greg Lindholm
To: Struts Users Mailing List
Sent: Tuesday, August 25, 2009 6:21:00 PM
Subject: Re: how to get exception stack after redirect to
Thanks, I'll try your solution.
Regards
Louis
From: Greg Lindholm
To: Struts Users Mailing List
Sent: Tuesday, August 25, 2009 6:21:00 PM
Subject: Re: how to get exception stack after redirect to action
The exception will not persist across the red
: Struts Users Mailing List
Sent: Tuesday, August 25, 2009 6:14:43 PM
Subject: Re: how to get exception stack after redirect to action
The core problem here is that you are redirecting... A redirect
generates a whole new request and all of your previous context is
lost. I would say find a different
The exception will not persist across the redirect unless you were to save
it in the session. If you want to do this then you could take a look at [1]
RedirectMessageInterceptor for an example of how to saveand retrieve the
exception in the session.
However, what I do to handle exceptions is have
The core problem here is that you are redirecting... A redirect
generates a whole new request and all of your previous context is
lost. I would say find a different way to pass the exception around,
but keep in mind that you can run into exception bubbling problems
(such as your exception mapping t
Hi,
What I'm trying to do is when exception happen, it redirect to
ExceptionHandlingAction and do something extra like sending email. My question
are
1) How to get the exception in ExceptionHandlingAction ? I've this setter in
the action public void setException(Exception exception), but nothin
7 matches
Mail list logo