Hello All,
I am populating a table in my jsp which has more than 20 records. Now, If I want to display each 10 records in a page and then the user clicks on next link to go to the other 20 records.
How can I do that in my jsp?
This is my current code
<table>
<tr>
<td>id</td>
<td>name</td>
<td>type</td>
</tr>
<%
while(resultSet.next())
{
%>
<tr>
<td><%=resultSet.getString(1)%></td>
<td><%=resultSet.getString(2)%></td>
<td><%=resultSet.getString(3)%></td>
</tr>
<%
}
%>
</table>