title: Spring @RequestParam arguments not being passed in POST method
body: <p>I'm having a problem with Spring and a post request.  I'm setting up an controller method for an Ajax call, see the method definition below</p>
  
  <pre><code>@RequestMapping(value = "add.page", method = RequestMethod.POST)
  @ResponseBody
  public Object createComment(
          @RequestParam(value = "uuid", required = false) String entityUuid,
          @RequestParam(value = "type", required = false) String entityType,
          @RequestParam(value = "text", required = false) String text,
          HttpServletResponse response) {
          ....
  </code></pre>
  
  <p>No matter what way I make the HTML call, the values for the <code>@RequestParam</code> parameters are always null.  I have many other methods that looks like this, the main difference is that the others are GET methods, whereas this one is a POST.  Is it not possible to use <code>@RequestParam</code> with a POST method?</p>
  
  <p>I'm using Spring version 3.0.7.RELEASE - Does anyone know what the cause of the problem may be?</p>
  
  <hr>
  
  <p>Ajax code:</p>
  
  <pre><code>$.ajax({
      type:'POST',
      url:"/comments/add.page",
      data:{
          uuid:"${param.uuid}",
          type:"${param.type}",
          text:text
      },
      success:function (data) {
          //
      }
  });
  </code></pre>