title: how to get list values from jsp page to servlet in java
body: <pre><code> &lt;c:forEach items="${scratchlistlotto }" var="sl"&gt;
        &lt;tr class="fontstyle"&gt;
          &lt;td  class="table_color1"&gt;&lt;input  name="scratchid" type="hidden"  class="table_color1" id="scratchid" style="text-align:center" size="2" value="${sl.scratchid }" /&gt;
          &lt;input name="binid" type="text" readonly="readonly" class="table_color1" id="binid" style="text-align:center" size="2" value="${sl.bin }" /&gt;&lt;/td&gt;
          &lt;td class="table_color1"&gt;&lt;input readonly="readonly" name="upccode" type="text" class="table_color1" id="upccode" style="text-align:center" size="25" readonly="readonly" value="${sl.upccode }" /&gt;&lt;/td&gt;
          &lt;td class="table_color2"  &gt;&lt;input readonly="readonly" name="totalticketss" type="text" class="table_color22" id="totalticketss${sl.i }" style="text-align:right" size="6" value="${sl.totaltickets }"/&gt;&lt;/td&gt;
          &lt;td class="table_color2"  &gt;&lt;input readonly="readonly" name="openingbalance${sl.i }" type="text" class="table_color22" id="openingbalance${sl.i }"   size="6" value="${sl.closingbalance }" /&gt;&lt;/td&gt;
          &lt;td&gt;&lt;input name="closingbalnce" type="text" class="text_border" onclick="Click(${sl.i })" id="closingbalnce" onchange="javascript:Total(this.value)"   style="text-align:right" size="6" /&gt;&lt;/td&gt;
          &lt;td class="table_color2"&gt;&lt;input readonly="readonly" name="value" type="text" class="table_color22" id="value${sl.i }" style="text-align:right" size="6" value="${sl.values }" /&gt;&lt;/td&gt;
          &lt;td class="table_color2"  &gt;&lt;input readonly="readonly" name="ticketssold" type="text" class="table_color22" id="ticketssold${sl.i }" style="text-align:right" size="6" /&gt;&lt;/td&gt;
          &lt;td class="table_color2"  &gt;&lt;input readonly="readonly" name="total" type="text" class="table_color22" id="total${sl.i }" style="text-align:right" size="6" /&gt; 
          &lt;/td&gt;
          &lt;td width="38" align="center"&gt;&lt;input name="endoflife" type="checkbox" class="text_border" id="endoflife"    /&gt;&lt;/td&gt;
          &lt;/tr&gt;&lt;/c:forEach&gt; 
  </code></pre>
  
  <blockquote>
    <p>this is my list i want send this into servlet how can i do this please help me</p>
  </blockquote>