title: jquery parameter not passed to servlet
body: <p>I have this jquery code:</p>
  
  <pre><code>var login = 'joe';
  var url = 'users/' + login + '/presence';
  var data = {
      presence : $('#presence').val()
  };
  $.ajax({
      url: url,
      type: 'POST',
      data: data  
  });
  </code></pre>
  
  <p>In my servlet code, I would expect to be table to do:</p>
  
  <pre><code>request.getParameterValues("presence")
  </code></pre>
  
  <p>However, it always returns null. If I change the url in the call above and manually add the parameter (e.g. url = 'users/' + login + '/presence?presence=' + $('#presence).val()) then I can get the value using <code>request.getParameterValues</code>.</p>
  
  <p>What am I doing wrong?</p>