:
> 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
6 matches
Mail list logo