title: Send dynamically created table information to java servlet - no javascript/jquery
body: <p>I currently have the following in a <code>jsp</code> file:</p>
  
  <pre><code>&lt;c:choose&gt;
      &lt;c:when test = "${fn:length(song.songInfo) &gt; 0}"&gt;   
          &lt;form action='cart' method='POST'&gt;
              &lt;table style="width:1000px" style="text-align:center"&gt;
                  &lt;tr&gt;
                      &lt;th&gt;Song Title&lt;/th&gt;
                      &lt;th&gt;Song Artist&lt;/th&gt;
                      &lt;th&gt;Album Title&lt;/th&gt;
                      &lt;th&gt;Genre&lt;/th&gt;
                      &lt;th&gt;Publisher&lt;/th&gt;
                      &lt;th&gt;Year&lt;/th&gt;
                      &lt;th&gt;Price&lt;/th&gt;
                      &lt;th&gt;Select ?&lt;/th&gt;
                  &lt;/tr&gt;
                  &lt;c:forEach var="item" items="${song.songInfo}"&gt; 
                      &lt;c:set var="split" value="${fn:split(item,';')}" /&gt; 
                      &lt;tr&gt;
                        &lt;td&gt;${split[0]}&lt;/td&gt;
                        &lt;td&gt;${split[1]}&lt;/td&gt; 
                        &lt;td&gt;${split[2]}&lt;/td&gt;
                        &lt;td&gt;${split[3]}&lt;/td&gt;
                        &lt;td&gt;${split[4]}&lt;/td&gt;
                        &lt;td&gt;${split[5]}&lt;/td&gt;
                        &lt;td&gt;${split[6]}&lt;/td&gt;
                        &lt;td&gt;${split[7]}&lt;/td&gt;
                        &lt;td&gt;&lt;input type="checkbox" name="songInfo" value="${split[0]} "&gt;&lt;/td&gt;
                      &lt;/tr&gt;   
              &lt;/c:forEach&gt;
              &lt;/table&gt;
              &lt;input type="submit" value="Add to Cart"/&gt;
          &lt;/form&gt;
  
      &lt;/c:when&gt;
      &lt;c:otherwise&gt;
          &lt;p&gt;No results found&lt;/p&gt;
      &lt;/c:otherwise&gt;
  &lt;/c:choose&gt;
  </code></pre>
  
  <p>I want to send the <code>&lt;td&gt;</code> items to a Java <code>servlet</code> IF the corresponding <code>checkbox</code> for  the row that has been ticked.</p>
  
  <p>I'm using <code>strCheckBoxValue = request.getParameter("songInfo");</code> in my <code>servlet</code> but this will only retrieve one string.</p>
  
  <p>Could someone suggest a way that I could send all the information to the <code>servlet</code> for any number of rows in the table WITHOUT using <code>javascript/JQuery</code>?</p>
  
  <p>Thank you for your help.</p>