From 1439c5bb8fa5ca8752b4d81232c8114aa8a376f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Sun, 16 Oct 2022 20:28:19 +0200 Subject: [PATCH] Document how to use WebJars without webjars-locator-core dependency Closes gh-29322 --- .../resource/WebJarsResourceResolver.java | 7 +++++-- .../resource/WebJarsResourceResolver.java | 7 +++++-- src/docs/asciidoc/web/webflux.adoc | 16 +++++++++++----- src/docs/asciidoc/web/webmvc.adoc | 16 +++++++++++----- 4 files changed, 32 insertions(+), 14 deletions(-) diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/resource/WebJarsResourceResolver.java b/spring-webflux/src/main/java/org/springframework/web/reactive/resource/WebJarsResourceResolver.java index ca5bd89b78..461d72dec4 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/resource/WebJarsResourceResolver.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/resource/WebJarsResourceResolver.java @@ -30,8 +30,8 @@ import org.springframework.web.server.ServerWebExchange; * attempts to find a matching versioned resource contained in a WebJar JAR file. * *

This allows WebJars.org users to write version agnostic paths in their templates, - * like {@code