title: How to Access formData values in Controller class
body: <p>I am saving multiple rows in database,So i am passing values in ajax call in jquery.</p>
  
  <pre><code>$("button#submitbutton").click(function() {
   var data = [];
   var name, email, message;
   $("table tbody tr").each(function(index) {
  name = $(this).find('.name').text();
  email = $(this).find('.email').text();
  message = $(this).find('.message').text();
  //----&gt;Form validation goes here
  data.push({
    name: name,
    email: email,
    message: message
  });
   });
   submitFormData(data);
  });    
  function submitFormData(formData) {
  var url= '/userrecords';
  alert(url);
   $.ajax({
          type: 'POST',
          data: formData,
          cache: false,
          processData: false,
          contentType: false,
          beforeSend: beforeSendHandler,
          url: url,
          success: function(result){
          if(result.success == true) {
            $('.alert-success').show();
            $('.alert-danger').hide();
            $("#successmsg").html(result.msg);
            setTimeout(function() {
              $(".alert-success").alert('close');
            }, 10000);
          } else {
            $('.alert-danger').show();
            $('.alert-success').hide();
            $("#error").html(result.msg);
            setTimeout(function() {
              $(".alert-danger").alert('close');
            }, 10000);
          }
          }
  });
  }
  </code></pre>
  
  <p>In spring MVC i write controller class</p>
  
  <pre><code>@RequestMapping(value = "/userrecords")
  public @ResponseBody Response saveList(Model model)
  throws ParseException, SQLIntegrityConstraintViolationException {
  //read all values here
  } 
  </code></pre>
  
  <p>in controller class how to access formData values. i didn't get any idea about this.</p>