struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: beta3 testing
Date Wed, 09 Mar 2016 06:47:50 GMT
2016-03-07 9:43 GMT+01:00 Greg Huber <gregh3269@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-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message