Refined RequestMappingHandlerMapping bean definition

Issue: SPR-13832
This commit is contained in:
Juergen Hoeller 2015-12-31 11:44:12 +01:00
parent 9152f20bc1
commit 9bffb9e53f
1 changed files with 1 additions and 1 deletions

View File

@ -2469,7 +2469,7 @@ The following example shows how to configure an interceptor:
[subs="verbatim,quotes"] [subs="verbatim,quotes"]
---- ----
<beans> <beans>
<bean id="handlerMapping" class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"> <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping">
<property name="interceptors"> <property name="interceptors">
<bean class="example.MyInterceptor"/> <bean class="example.MyInterceptor"/>
</property> </property>