[size=medium] The ordered set of interceptors that intercept HTTP Servlet Requests handled by Controllers. Interceptors allow requests to be pre/post processed before/after handling. Each inteceptor must implement the
org.springframework.web.servlet.HandlerInterceptor or
org.springframework.web.context.request.WebRequestInterceptor
interface.
The interceptors in this set are automatically configured on each registered HandlerMapping. The URI paths each interceptor applies to are configurable.[/size]
org.springframework.web.servlet.HandlerInterceptor or
org.springframework.web.context.request.WebRequestInterceptor
interface.
The interceptors in this set are automatically configured on each registered HandlerMapping. The URI paths each interceptor applies to are configurable.[/size]
<!-- Configures Handler Interceptors -->
<mvc:interceptors>
<!-- Changes the locale when a 'locale' request parameter is sent; e.g. /?locale=de -->
<bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" />
</mvc:interceptors>