title: Controller does not recognize correct handler method
body: <p>I have a controller with methods as below:</p>
  
  <pre><code>@Controller
  @RequestMapping(value = "/employee/**")
  public class EmployeeInfoController{
  
      @RequestMapping(method = RequestMethod.GET)
      public ModelAndView getEmployeeInfoCriteria(@ModelAttribute("employeeInfoParam") EmployeeInfoParam employeeInfoParam) {
              .....
      }
  
      @RequestMapping(value = "/details/{empId}", method = RequestMethod.GET)
      public ModelAndView getEmployeeDetailsById(@PathVariable String empId) {
              ......
      }
  }
  </code></pre>
  
  <p>I expected whenever I <code>/application/employee/</code>, it would show search page and it does. But it doesn't show employee details page, when I submit request <code>/application/emp/details/101</code>, it goes search page instead of details page.
  The log shows below:</p>
  
  <pre><code>09:45:20,937 INFO  [STDOUT] DEBUG [RequestMappingHandlerMapping:229] - Looking up handler method for path /employee/details/400000000022161
  09:45:20,938 INFO  [STDOUT] TRACE [RequestMappingHandlerMapping:267] - Found 2 matching mapping(s) for [/employee/details/400000000022161] : [{[/employee/**],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}, {[/employee/**/details/{empId}],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}]
  09:45:20,939 INFO  [STDOUT] DEBUG [RequestMappingHandlerMapping:234] - Returning handler method [public org.springframework.web.servlet.ModelAndView com.application.web.controller.EmployeeInfoController.getEmployeeInfoCriteria(com.application.web.form.EmployeeInfoParam)]
  </code></pre>
  
  <p>My understanding was, If I don't mention any sub-urls in place of ** (which is in the class level), it would take <code>getEmployeeInfoCriteria</code> i.e. <code>/application/employee/</code>.
  If I mention a sub-url, like <code>/application/employee/details/1001</code>, it would be handled by <code>getEmployeeDetailsById</code>. What am I missing here?</p>