Without looking at the blog entry you posted, I would suggest looking at your interceptor stack configuration for the action. The most likely case is that some other interceptor is interrupting execution (likely for a legitimate reason). For instance, the workflow (or is it validation) interceptor might have detected that validation failed and returned "input" before executing your action. If your interceptor is configured further down the stack, then it won't be reached.
As for why it is behaving differently in an app that has the spring plugin vs. non-spring app... I would first assume that's a red herring and you should check first what I mentioned above. -Wes On Wed, Apr 28, 2010 at 10:29 AM, RogerV <roger.var...@googlemail.com> wrote: > > I'm using the RedirectMessageInterceptor from > http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2. > In the first application I used it in, which is a "standard out of the box" > struts 2 application it works as expected. > > I'm now using it in a project that uses the Spring plugin for some of my > class instantiation and the interceptor never fires. > > I've added logging to the code in the Constructor and in the doIntercept > method. In the first instance I see the constructor message and for every > action called I see the doIntercept() messages. > > In the second case, I see the Constructor messages logged, so Struts/Spring > is seeing it, but the doIntercept() method never fires. > > Has anyone seen anything like this before who could suggest what to check > next? > > Regards > -- > View this message in context: > http://old.nabble.com/Odd-Interceptor-Behaviour-with-Spring-Plugin-%28possibly%29-tp28387977p28387977.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org