Spring Interceptors

To add an interceptor to your application, do the following;

Add the following to your application-context.xml file;

<context:component-scan base-package="com.test" />

<mvc:annotation-driven/>

<mvc:interceptors>
	<bean .... />
</mvc:interceptors>

http://forum.springsource.org/showpost.php?p=289544&postcount=4

Leave a Reply