struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Mitchell <smitch...@byteworksinc.com>
Subject Re: Getting unexpected ActionInvocation
Date Tue, 29 Dec 2009 15:58:09 GMT
After a little more debugging I see that I am not hitting
the RedirectMessageInterceptor from that action. I'm messing around with
@Namespace and @InterceptorRefs to see if I can achieve the desired
behavior. I must have been seeing a ServletDispatcherResult  that was
further downstream.

On Tue, Dec 29, 2009 at 9:17 AM, Wes Wannemacher <wesw@wantii.com> wrote:

> Do you have a wildcard configuration in the XML that might be
> overriding your @Result? I can't remember the exact order of
> evaluation, but I think Conventions (assuming you're using
> Conventions, but we'll need version numbers and plugins to know
> better) is sort of the last-guy-on-the-totem-pole.
>
> You might try to take a look at the config-browser plugin so that you
> can see your effective configuration on the action in question.
>
> -Wes
>
> On Tue, Dec 29, 2009 at 10:10 AM, Steve Mitchell
> <smitchell@byteworksinc.com> wrote:
> > I’m doing a redirect with annotations: @Result(name = “success”,
> > type=”redirect”, location=”home.action”), however, the resulting
> > ActionInvocation is a ServletDispatcherResult instead of
> > ServletRedirectResult. This is an issue because I'm attempting to use the
> > RedirectMessageInterceptor  which expects a ServletRedirectResult. Why
> would
> > @Result type "redirect" result in a ServletDispatcherResult ?
> >
> > Steve Mitchell
> > http://www.ByteworksInc.com
> >
>
>
>
> --
> Wes Wannemacher
>
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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