title: Spring MVC <mvc:resources> mappings is not affecting url
body: <p>I'm just wondering if anyone has encountered an issue where the url you enter to get a static file takes the location string instead of mapping string?
  e.g. </p>
  
  <blockquote>
    <p>location="/resources/" mapping="/myResources/**"</p>
  </blockquote>
  
  <p>1) url: <a href="http://localhost:8080/MVCdemo/myReources/img.png" rel="nofollow noreferrer">http://localhost:8080/MVCdemo/myReources/img.png</a></p>
  
  <p>2) url: <a href="http://localhost:8080/MVCdemo/reources/img.png" rel="nofollow noreferrer">http://localhost:8080/MVCdemo/reources/img.png</a></p>
  
  <p>url 2 will work but url 1 doesn't (404), even though that is what is mapped?</p>