diff --git a/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc b/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc index c29b5e9abbc..99e0d09913a 100644 --- a/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc +++ b/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc @@ -395,7 +395,6 @@ include-code::./UrlHandlerFilterConfiguration[tag=config,indent=0] Keep in mind the following: - the root path `"/"` is excluded from trailing slash handling. -- prefer `@RequestMapping` over - `@RequestMapping("/")` adds a trailing slash to a type-level mapping, and therefore will not map when trailing slash handling applies; use `@RequestMapping` (no path attribute) instead. diff --git a/framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc b/framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc index 6a445ab3616..3e2aad25221 100644 --- a/framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc +++ b/framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc @@ -141,6 +141,5 @@ include-code::./UrlHandlerFilterConfiguration[tag=config,indent=0] Keep in mind the following: - the root path `"/"` is excluded from trailing slash handling. -- prefer `@RequestMapping` over - `@RequestMapping("/")` adds a trailing slash to a type-level mapping, and therefore will not map when trailing slash handling applies; use `@RequestMapping` (no path attribute) instead.