Spring MVC 3, Interceptor on all excluding some defined paths
Is it possible to apply an interceptor to all controllers and actions, except some that are defined? Just to be clear, I am not interested in applying an interceptor on a list of defined ones. I want to define those to exclude. Thanks! Since Spring 3.2 they added that feature with the tag mvc:exclude-mapping See this example from the Spring documentation: <mvc:interceptors> <bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" /> <mvc:interceptor> <mvc:mapping path="/**"/> <mvc:exclude-mapping path="/admin/**"/> <bean class="org.springframework.web.servlet.theme