Thanks that did the trick.

Where did you learn about the NONE result? Is it documented somewhere?

On Tue, Nov 3, 2009 at 5:56 PM, Haroon Rafique
<haroon.rafi...@utoronto.ca>wrote:

> On Today at 5:13pm, GL=>Greg Lindholm <greg.lindh...@gmail.com> wrote:
>
> GL> I have a situation where I want to fully handle the result in the
> Action
> GL> including writing the response to the HttpServletResponse.
> GL>
>
>
> return ActionSupport.NONE?
>
>
> GL>
> GL> What's the best way to handle this so there is no further results
> processing
> GL> after the execute() method ends?
> GL>
> GL> Is there a way to disable results processing from within the action's
> GL> execute() method?
> GL> Or, should I write a "NoResult" Result that does nothing?
> GL>
> GL> I know I could write a custom Result and move all the logic from the
> action
> GL> to the custom result but it would be a PITA and make this situation
> much
> GL> more complex then it needs to be. I would have to split the logic in
> the
> GL> action in an artificial way and expose a bunch of internal variables
> just so
> GL> they could be passed to the Result and then I would have to duplicate
> logic
> GL> that is already available in the action super classes, etc in the
> result.
> GL>
>
> --
> Haroon Rafique
> <haroon.rafi...@utoronto.ca>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to