RE: return Result instantiated within Action

2008-04-17 Thread Brad A Cupit
>> Ah, good point. Yes, please file this as a request, as it >> should be pretty easy to do and would make things much easier. done, thanks! automatically set ActionMapper for ServletRedirectResult https://issues.apache.org/struts/browse/WW-2598 Brad Cupit Louisiana State University - UIS

Re: return Result instantiated within Action

2008-04-17 Thread Don Brown
On Fri, Apr 18, 2008 at 1:22 AM, Brad A Cupit <[EMAIL PROTECTED]> wrote: > I've tried that myself as it seemed a very clean way of returning a > result, but I get a NullPointerException since the ActionMapper isn't > set on the Result. > > Can you think of any way that the actionMapper could

return Result instantiated within Action

2008-04-17 Thread Brad A Cupit
[creating a new thread so as not to hijack the "ServletRedirectActionResult - is there a way to set parameters?" thread] Don Brown said: >> The easiest solution is to simply return a >> ServletActionRedirectResult instance from >> your action method. I've tried that myself as it seemed a very cle