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 6c90c45a0e0..0e2d55d4c84 100644 --- a/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc +++ b/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc @@ -432,7 +432,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.