title: In a Spring 3.0 GET request, what's the difference between a @PathVariable and a @RequestParam
body: <p>In an example such as the following, what's the difference between a <code>@PathVariable</code> and a <code>@RequestParam</code>?</p>
  
  <pre><code>@RequestMapping(value = "/portfolio/{portfolioIdPath}", method = RequestMethod.GET)
  public final String portfolio(HttpServletRequest request, ModelMap model, 
  @PathVariable long portfolioIdPath, @RequestParam long portfolioIdRequest)
  </code></pre>