title: RequestMapping with multiple values with pathvariable - Spring 3.0
body: <pre><code>@RequestMapping(value = {"/userDetails", "/userDetails/edit/{id}"}, method = RequestMethod.GET)
  public String userDetails(Map Model,****) {
  //what goes here? 
  }
  </code></pre>
  
  <p>What will be my arguments to the <code>userDetails</code> method? And how do I differentiate <code>/userDetails</code> and <code>/userDetails/edit/9</code> within the method?</p>