title: Spring MVC and X-HTTP-Method-Override parameter
body: <p>I'm using Spring MVC, and I have a function to update a user's profile:</p>
  
  <pre><code>@RequestMapping(value = "/{userName}" + EndPoints.USER_PROFILE,
      method = RequestMethod.PUT)
  public @ResponseBody ResponseEntity&lt;?&gt; updateUserProfile(
      @PathVariable String userName, @RequestBody UserProfileDto userProfileDto) {
      // Process update user's profile
  } 
  </code></pre>
  
  <p>I've started using JMeter, and for some reason they have a problem with sending a PUT request with a body (either in a request body or using a request parameter hack).</p>
  
  <p>I know that in Jersey you can add a filter to process the X-HTTP-Method-Override request parameter, so that you can send a POST request and override it using the header parameter.</p>
  
  <p>Is there any way to do this in Spring MVC?</p>
  
  <p>Thanks!</p>