Hallo,
my case is the following. I'm using annotations and I have registered 2 interceptors in applicationContext.xml.
I want that the second interceptor is not called for selected requests, for instance the ones that start with "/login/*".Code:<bean id="annotationMapper" class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"> <property name="interceptors"> <list> <ref bean="interceptor1"/> <ref bean="interceptor2"/> </list> </property> </bean>
Is there a way to do it? I didn't find any clues in the documentation.
Antonio


Reply With Quote