title: how to insert multiple records against same ID in a table from JSP having different elements using single query
body: <p>I am using Spring MVC with Hibernate.
  My page has a button that creates a new table row (via jQuery), which is made up of inputs to allow the user to select the new data that will be inserted into the database. Some of these inputs are combo boxes. My combo boxes look like this:</p>
  
  <pre><code>&lt;form:select path="ProductName"&gt;
    &lt;form:option&gt;some list&lt;form:option&gt;
  &lt;/form:select&gt;
  </code></pre>
  
  <p>There may be 4 to 5 different boxes in a single table row and I can add multiple input rows by clicking the button multiple times. Once I click <code>Save</code>, all the items in the rows should get inserted into database table.</p>
  
  <p>Since the user can send more than one row at a time I am confused about the path attribute since we give path to every single spring tag in JSP. Here I want to insert in one column and multiple rows and rows can be in any number so how should I go about it?</p>
  
  <p>Please help me with this; I'm really stuck.</p>