Hi All,
I am having a
jsp page which displays values in the database table using <s:iterator> tag as follows:
<s:iterator value="myList" var="bill">
<tr>
<td><s: property value="#bill.billId" /></td>
<td><s: property value="#bill.customerName" /></td>
<td><s: property value="#bill.amount" /></td>
<td><s: property value="#bill.paymentDate" /></td>
</tr>
</s:iterator>
I want to add a checkbox to each row. In the action class i want to get the id of the row whose checkbox has been clicked.
Is there any way to do this?
Thanks in advance.
Raneesh