struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Redirect-action alternative in Struts2 without browser redirect
Date Fri, 28 Sep 2012 12:58:46 GMT
On Fri, Sep 28, 2012 at 1:38 AM, Fredrik Lindberg wrote:

> Don't you agree that you sometimes need to use the redirect-action? In
> that case why could Struts2 not just provide a different result-type
> that skips the browser redirect and just returns the result of the
> following action right away?


That's called action chaining. Your issue with that regards parameters. The
same parameter problem would exist if you were forwarding to an action.


> I believe I have seen this possibility in
> other frameworks and the only bad thing I have heard from others here,
> so far, is that the URL will not show correctly in the browser.
>

And the re-submit problem.

Dave

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message