Fix typo in resource handling reference doc

master
Brian Clozel 9 years ago
parent 09e3fc40e5
commit 327785d19e
  1. 4
      src/asciidoc/web-mvc.adoc

@ -5162,9 +5162,9 @@ use directly the `ResourceUrlProvider` bean, which is automatically declared wit
Java config and the MVC namespace. Java config and the MVC namespace.
Webjars are also supported with `WebJarsResourceResolver`, which is automatically registered Webjars are also supported with `WebJarsResourceResolver`, which is automatically registered
when the ``"org.webjars:webjars-locator"` library is on classpath. This resolver allows when the `"org.webjars:webjars-locator"` library is on classpath. This resolver allows
the resource chain to resolve version agnostic libraries from HTTP GET requests the resource chain to resolve version agnostic libraries from HTTP GET requests
`"GET /jquery/jquery.min.js" will return resource "/jquery/1.2.0/jquery.min.js"`. `"GET /jquery/jquery.min.js"` will return resource `"/jquery/1.2.0/jquery.min.js"`.
It also works by rewriting resource URLs in templates It also works by rewriting resource URLs in templates
`<script src="/jquery/jquery.min.js"/> -> <script src="/jquery/1.2.0/jquery.min.js"/>`. `<script src="/jquery/jquery.min.js"/> -> <script src="/jquery/1.2.0/jquery.min.js"/>`.

Loading…
Cancel
Save