title: RequestMapping not working with multi-level URLs
body: <p>I have a scenario where I'm making a simple get request through a link and my @RequestMapping configuration is not behaving as I'd expect.</p>
  
  <p>Within an anchor tag I reference a url with the following pattern '/action-plan/export/pdf?token=xxx&amp;taskId=1111&amp;taskId=2222...'</p>
  
  <p>Within my controller class I have this mapping at the class level:</p>
  
  <pre><code>@RequestMapping("/action-plan/export")
  </code></pre>
  
  <p>And this mapping at the method level</p>
  
  <pre><code>@RequestMapping(value="/pdf", method=RequestMethod.GET)
  public String exportToPdf(@RequestParam("taskId") String[] taskIds,
              @RequestParam("token") String[] encryptedEmplId, ModelMap model)
  </code></pre>
  
  <p>But every time I try this I get a 404 page not found error and the following Spring exception:</p>
  
  <blockquote>
    <p>org.springframework.web.servlet.mvc.multiaction.NoSuchRequestHandlingMethodException: No matching handler method found for servlet request: path '/pdf', method 'GET', parameters map['taskId' -> array['1962326', '1962264', '1962317', '1962328', '1962324', '1962427', '1962325', '1962323', '1963147', '1962327', '1962318', '1962329', '1962330'], 'token' -> array['xxxx']]</p>
  </blockquote>
  
  <p>I've noticed that when I remove the "/pdf?" portion of the link and remove 'value="/pdf"' from the method @RequestMapping it works fine. For the life of me I don't understand why adding /pdf to the url and RequestMapping is not working.</p>