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:
Code:
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
  <property name="interceptors">
    <list>
      <bean class="it.mypackage.MyInterceptor" />
    </list>
  </property>
</bean>
and I wrote myInterceptor class which implements HandlerInterceptor

Code:
public class MyInterceptor implements HandlerInterceptor {
	
  @Override
  public void afterCompletion(
  ...
but the requests aren't intercepted by MyInterceptor, maybe there is a mistake in the configuration file. Anyone could help me?

Thanks in advance,

Enrico