title: Spring REST for DELETE Request Method
body: <p>I have the following method in my controller</p>
  
  <pre><code>@RequestMapping(value = "processPurchase/{poid}", method = RequestMethod.DELETE)
  public String processOrder(@PathVariable int poid) {
      // do some processing
      return acceptPurchaseForm;
  }
  </code></pre>
  
  <p>My HTML</p>
  
  <pre><code>&lt;form id="purchase-list-form" class="form-horizontal" action="/MyNewApp/processPurchase/" method="post"&gt;
  &lt;input type="hidden" name="_method" value="delete"&gt;
  &lt;input type="hidden" name="poid" value=""&gt;
  </code></pre>
  
  <p>With the above I still get the following error</p>
  
  <p><code>WARN : org.springframework.web.servlet.PageNotFound - Request method 'DELETE' not supported</code></p>
  
  <p>Any help appreciated.</p>