2016-03-07 9:43 GMT+01:00 Greg Huber <gregh3...@gmail.com>:
> I stripped out all the stuff that needed initialization from my action, and
> I can see the message works on the redirect.  So the fix it OK :-)

osm!

>
> ###
>
> When I say the default, I mean myStack
>
> <default-interceptor-ref name="myStack" /> otherwise
>
> the action I call does not work due to not having gone through any kind of
> stack, no parameters etc or my ActionPrepareInterceptor not being called.
>
> From the code below, if only store is used, it calls the interceptor and
> then invokeActionOnly(); on the class ie execute.
>
> if (interceptors.hasNext()) {
>                 final InterceptorMapping interceptor = interceptors.next();
>                 String interceptorMsg = "interceptor: " +
> interceptor.getName();
>                 UtilTimerStack.push(interceptorMsg);
>                 try {
>                     resultCode =
> interceptor.getInterceptor().intercept(DefaultActionInvocation.this);
>                 } finally {
>                     UtilTimerStack.pop(interceptorMsg);
>                 }
>             } else {
>                 resultCode = invokeActionOnly();
>             }

Hm.... let me check that


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to