Merge branch '6.0.x'

This commit is contained in:
rstoyanchev 2023-09-08 10:07:35 +01:00
commit b0d4931d5d
1 changed files with 3 additions and 5 deletions

View File

@ -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.