views:

26

answers:

0

Hello All,

COuld you please advise on the following issue because I got confused and need help with the easiest way which I can follow.

I am retrieving some records from the DB in my jsp

<table> 
    <tr> 
        <td>A</td> 
        <td>B</td> 
        <td>C</td> 
    </tr> 
<% 
    while(resultSet.next()) 
    { 
        %> 
        <tr> 
        <td><%=resultSet.getString(1)%></td> 
        <td><%=resultSet.getString(2)%></td> 
        <td><%=resultSet.getString(3)%></td> 
    </tr> 
<% 
    } 
%> 
</table>

I found some resources like these: http://www.roseindia.net/answers/viewanswers/1321.html or http://jsptags.com/tags/navigation/pager/index.jsp or http://en.newinstance.it/2006/09/27/client-side-html-table-pagination-with-javascript/ Can I use one of them?

or

if you have any suggested specific example. I need your help since I am a beginner in jsp, jquery, javascript