struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yanto <yantob...@gmail.com>
Subject Re: Interceptor issue in Struts 2.1.6
Date Thu, 18 Jun 2009 15:45:20 GMT
Hi Dave,

thanks, we already solve the interceptor issue, we need to include the
defaultstack before the custom interceptor..
after that it's working fine...

Regards
Yanto

On Thu, Jun 18, 2009 at 7:36 PM, Dave Newton <newton.dave@yahoo.com> wrote:

> Yanto wrote:
>
>> thanks, we are able to run the interceptor now, but we have another issue,
>> the interceptor will Loop,
>> we create the sample follow the code from the webworks
>>
>> *public* *class* *InterceptorSample* *extends* AbstractInterceptor {
>>      @Override
>>      *public* String intercept(ActionInvocation invocation)
>> *throws*Exception {
>>            System.*out*.println("Testing the interceptor flow from
>> TEST:");
>>            *return* invocation.invoke();
>>      }
>>  }
>>
>
> You're saying that with the above interceptor invoking the action loops
> infinitely and without it it doesn't?
>
> We'd need to see the action and interceptor configuration at the least.
>
> Dave
>
>
> ---------------------------------------------------------------------
> 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