Browse Source

Refined RequestMappingHandlerMapping bean definition

Issue: SPR-13832
pull/946/head
Juergen Hoeller 10 years ago
parent
commit
9bffb9e53f
  1. 2
      src/asciidoc/web-mvc.adoc

2
src/asciidoc/web-mvc.adoc

@ -2469,7 +2469,7 @@ The following example shows how to configure an interceptor: @@ -2469,7 +2469,7 @@ The following example shows how to configure an interceptor:
[subs="verbatim,quotes"]
----
<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">
<bean class="example.MyInterceptor"/>
</property>

Loading…
Cancel
Save