How to implement Paging
i have a Jsp Page called Items.jsp, in that i am displaying the items(64 items)on Items.jsp.
But my problem is that i don't want to display all the 64 at a time, i want to display like page by page. lets say 20 Items per page.
and it should display 1-20, 21-40, 41-60, 61-64...
Plz help me to implement this and provide me the source code if u guys had it.
Thanks in advance....
when a user clicks the link (1-20 for instance) just send two variables to the server: start and stop
with start having a value of 1 and stop having a value of 20.
With those values, you know where to start and stop looping your array of values.