Browse Source

Polishing

See gh-31185
pull/31496/head
rstoyanchev 1 year ago
parent
commit
740f3b797f
  1. 8
      framework-docs/modules/ROOT/pages/web/webmvc/mvc-config/interceptors.adoc

8
framework-docs/modules/ROOT/pages/web/webmvc/mvc-config/interceptors.adoc

@ -65,8 +65,6 @@ NOTE: The XML config declares interceptors as `MappedInterceptor` beans, and tho @@ -65,8 +65,6 @@ NOTE: The XML config declares interceptors as `MappedInterceptor` beans, and tho
turn detected by any `HandlerMapping` bean, including those from other frameworks.
By contrast, the Java config passes interceptors only to the `HandlerMapping` beans it manages.
To re-use the same interceptors across Spring MVC and other framework `HandlerMapping`
beans with the MVC Java config, either declare `MappedInterceptor` beans, or conifgure the
same interceptors in both the Java config and in other `HandlerMapping` beans.
beans with the MVC Java config, either declare `MappedInterceptor` beans (and don't
manually add them in the Java config), or configure the same interceptors in both
the Java config and in other `HandlerMapping` beans.

Loading…
Cancel
Save