Hi all,
I am working with Spring 3.1.0.M2 and I configured controllers by @Controller and @RequestMapping annotations.
I want to intercept all client request (*) with an Interceptor which implements HandlerInterceptor class which belongs to spring-framework.
I configured all what I need in my xml configuration file:
and I wrote myInterceptor class which implements HandlerInterceptorCode:<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
<property name="interceptors">
<list>
<bean class="it.mypackage.MyInterceptor" />
</list>
</property>
</bean>
but the requests aren't intercepted by MyInterceptor, maybe there is a mistake in the configuration file. Anyone could help me?Code:public class MyInterceptor implements HandlerInterceptor {
@Override
public void afterCompletion(
...
Thanks in advance,
Enrico

