I am using Spring 3.0
I need to write an interceptor that intercepts all urls. in my application
I wrote one intercptor
public class HelloInterceptor extends HandlerInterceptorAdapter {
how can i configure it in spring -servlet.xml.
Usage <mvc:interceptors>(see docs ) e.g.
<mvc:interceptors>
Example of interceptor registration applied to all URLs:
<mvc:interceptors> <bean class="x.y.HelloInterceptor" /> </mvc:interceptors>