Hi! Forward is, correct me if I am wrong, what you get when you use the dispatch result type, but as far as I have been able to tell you can only forward to a view, like e.g. a JSP. I want to however "forward" to another action without the round-trip of a redirect. In other words, I want to switch, based on the result of the first action, which action is being executed before the system determines which view to use.
Yes, having to do some kind of interceptor for this seems like very complicated. / Fredrik Lindberg (2012-09-26). On Wed, Sep 26, 2012 at 7:41 PM, Dave Newton <[email protected]> wrote: > On Wed, Sep 26, 2012 at 12:30 PM, Fredrik Lindberg wrote: > >> I am looking for if there is any alternative to the redirect-action >> result type where it does not generate a browser redirect? > > > It's not clear to me what you want. > > Do you want to *forward* to another action? I've never tried it, but did > you try the normal dispatch result? > > Also why not send what the client wants right away? > > > Because it's a redirect? > > >> What I want is having control over what properties are >> passed on to the next action in the same way as for the redirects, but >> without the overhead. Can anyone help? =) >> > > I suppose you could configure the parameter filter interceptor for each > action, but ugh. > > Dave (2012-09-26... well that seemed redundant; does your email client not > show dates?) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
