title: delete request ajax jquery don't function
body: <p>I'm trying to do a DELETE request with Ajax, but it doesn't function,I receive an internal error, but i can't see the problem, can you help me?</p>
  
  <p>this is the partial code of javascript:</p>
  
  <pre><code>$.ajax({
      url: 'http://localhost:8080/actors/remover',
      type: 'DELETE',
      data: JSON.stringify(movie),
      traditional:true,
      dataType: 'json',
      success: function(result) {...},
      error: function(result){...}
  });
  </code></pre>
  
  <p>and here the code of my controller:</p>
  
  <pre><code>@RequestMapping(value = "/actors/remover", method = RequestMethod.DELETE)//TODO, elimina un attore dal db
  public boolean remove(@PathVariable("movie") int movie) {
      System.out.println("Attori da cancellare");
      serv.deleteActors(movie);
      return true;
  }//remove
  </code></pre>