<c:forEach items="${scratchlistlotto }" var="sl">
<tr class="fontstyle">
<td class="table_color1"><input name="scratchid" type="hidden" class="table_color1" id="scratchid" style="text-align:center" size="2" value="${sl.scratchid }" />
<input name="binid" type="text" readonly="readonly" class="table_color1" id="binid" style="text-align:center" size="2" value="${sl.bin }" /></td>
<td class="table_color1"><input readonly="readonly" name="upccode" type="text" class="table_color1" id="upccode" style="text-align:center" size="25" readonly="readonly" value="${sl.upccode }" /></td>
<td class="table_color2" ><input readonly="readonly" name="totalticketss" type="text" class="table_color22" id="totalticketss${sl.i }" style="text-align:right" size="6" value="${sl.totaltickets }"/></td>
<td class="table_color2" ><input readonly="readonly" name="openingbalance${sl.i }" type="text" class="table_color22" id="openingbalance${sl.i }" size="6" value="${sl.closingbalance }" /></td>
<td><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" /></td>
<td class="table_color2"><input readonly="readonly" name="value" type="text" class="table_color22" id="value${sl.i }" style="text-align:right" size="6" value="${sl.values }" /></td>
<td class="table_color2" ><input readonly="readonly" name="ticketssold" type="text" class="table_color22" id="ticketssold${sl.i }" style="text-align:right" size="6" /></td>
<td class="table_color2" ><input readonly="readonly" name="total" type="text" class="table_color22" id="total${sl.i }" style="text-align:right" size="6" />
</td>
<td width="38" align="center"><input name="endoflife" type="checkbox" class="text_border" id="endoflife" /></td>
</tr></c:forEach>
this is my list i want send this into servlet how can i do this please help me
如果以上代码块在表单标记内并且您的表单动作是servlet,则servlet可以使用所有内容(输入标记元素)作为请求参数。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.