| Author |
Pagination
|
selvi family
Ranch Hand
Joined: Nov 26, 2004
Posts: 39
|
|
I fetched 100 records from database. If I display that in single page, it will be too long...have to scroll down to view the records... I want to display the data by 10 records in each page so please update me how to do pagination....
|
 |
Jagadeesh Kumar Macherla
Greenhorn
Joined: Jan 12, 2005
Posts: 4
|
|
|
There are many ways to do it..First u have to retrieve all the rows from the database and store them in Vector.. if u r displaying the data in a jsp u can store that vector in a session and u can also have current index which u can incrememnt by 10 whenever u go to next page..
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
Here are some notes from a prior discussion of this:
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
|
 |
selvi family
Ranch Hand
Joined: Nov 26, 2004
Posts: 39
|
|
ok..Thanks !!! I will try and get back to u
|
 |
 |
|
|
subject: Pagination
|
|
|