title: How to send table data from HTML form submit via ajax call to Spring MVC controller
body: <p>Say i have a HTML table in a format similar to this </p>
  
  <pre><code>&lt;form&gt; &lt;table id="a"&gt;
      &lt;thead&gt;
      &lt;th&gt;Name&lt;/th&gt;
      &lt;th&gt;Series&lt;/th&gt;
      &lt;th&gt;Value&lt;/th&gt;
      &lt;/thead&gt;
      &lt;tbody id="b"&gt;
      &lt;tr&gt;&lt;td&gt;Enhancer&lt;/td&gt;&lt;td&gt;Enhancement&lt;/td&gt;&lt;td&gt;50&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;Plans&lt;/td&gt;&lt;td&gt;Plan&lt;/td&gt;&lt;td&gt;50&lt;/td&gt;&lt;/tr&gt;
      &lt;/tbody&gt;
      &lt;/table&gt;
      &lt;input type="submit" value="Send" action="SomeControllerAction" /&gt;&lt;/form&gt;
  </code></pre>
  
  <p>which has two rows under the headings "Name","Series" and "Value" .</p>
  
  <p>I need to send this data via a <strong>form</strong> submit to a <strong>Spring Controller</strong> with <strong>Ajax</strong> where i can get or set the values for each row iteratively in a Model. 
  I am not sure how to achieve this . That is how to send the data in a table to a spring controller method and get the values .</p>
  
  <p>Help with code segments! 
  Thanks</p>