title: Get requested value(URL) when using @RequestMapping annotations
body: <p>When I map multiple values to @RequestMapping(like <a href="https://stackoverflow.com/questions/2513031/multiple-spring-requestmapping-annotations">Multiple Spring @RequestMapping annotations</a>), can I get the requested value(URL)?</p>
  
  <p>Like this:</p>
  
  <pre><code>@RequestMapping(value={"/center", "/left"}, method=RequestMethod.GET)
  public String getCenter(Model model) throws Exception {     
      String requestedValue = getRequestedValue();  // I want this.
  
      // I want to do something like this with requested value.
      String result; 
      if (requestedValue.equals("center")
          result = "center";
      else if (requestedValue.equals("left")
          result = "left";
      return result;
  }
  </code></pre>