title: <mvc:resources> and PathVariable
body: <p>Please help me to resolve the following issue! I have the config:</p>
  
  <pre><code>&lt;mvc:resources location="/images/" mapping="/images/**"/&gt;
  &lt;mvc:resources location="/css/" mapping="/css/**"/&gt;
  &lt;mvc:resources location="/javascript/" mapping="/javascript/**"/&gt;
  </code></pre>
  
  <p>and everything is working fine for my resources in requests like:</p>
  
  <pre><code>http://127.0.0.1:8080/baraholka/viewAdverts.brh
  </code></pre>
  
  <p>but when I have request like:</p>
  
  <pre><code>http://127.0.0.1:8080/baraholka/viewTagAdverts/tag/2/1
  </code></pre>
  
  <p>where:</p>
  
  <pre><code>@RequestMapping(value="/ajaxViewAdverts/tag/{id}/{currentPage}",      method=RequestMethod.GET)
      public ResponseEntity&lt;byte[]&gt; viewTagAdverts(@PathVariable("id") Integer id, @PathVariable(value="currentPage") Integer currentPage, ModelMap map, HttpServletRequest request, HttpServletResponse response){
      byte view[] = {};
      HttpHeaders httpHeaders = new HttpHeaders();
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>20:48:08.109  WARN [http-8080-4] org.springframework.web.servlet.DispatcherServlet:947  - No mapping found for HTTP request with URI     [/baraholka/viewTagAdverts/tag/2/javascript/jquery.cookies.2.2.0.js] in DispatcherServlet with name 'baraholka'
  20:48:08.109  WARN [http-8080-3] org.springframework.web.servlet.DispatcherServlet:947 - No mapping found for HTTP request with URI [/baraholka/viewTagAdverts/tag/2/javascript/baraholka.js] in DispatcherServlet with name 'baraholka'
  20:48:08.140  WARN [http-8080-1] org.springframework.web.servlet.DispatcherServlet:947 - No mapping found for HTTP request with URI [/baraholka/viewTagAdverts/tag/2/javascript/jquery.lightbox-0.5.min.js] in DispatcherServlet with name 'baraholka'
  20:48:08.156  WARN [http-8080-5] org.springframework.web.servlet.DispatcherServlet:947 - No mapping found for HTTP request with URI [/baraholka/viewTagAdverts/tag/2/javascript/jquery.ui.stars.js] in DispatcherServlet with name 'baraholka'
  20:48:08.156  WARN [http-8080-2] org.springframework.web.servlet.DispatcherServlet:947 - No mapping found for HTTP request with URI [/baraholka/viewTagAdverts/tag/2/css/jqcloud.css] in DispatcherServlet with name 'baraholka'
  20:48:08.171  WARN [http-8080-3] org.springframework.web.servlet.DispatcherServlet:947 - No mapping found for HTTP request with URI [/baraholka/viewTagAdverts/tag/2/images/login.png] in DispatcherServlet with name 'baraholka'
  20:48:08.171  WARN [http-8080-1] org.springframework.web.servlet.DispatcherServlet:947 - No mapping found for HTTP request with URI [/baraholka/viewTagAdverts/tag/2/images/logo.png] in DispatcherServlet with name 'baraholka'
  </code></pre>
  
  <p>How to setup correct mapping? I also tried to do such mappings like <strong>/images/</strong> but it doesn't work.</p>