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 cod if u guys had it.
Thanks in advance....
i suggest you to use the displaytag - tag library from http://displaytag.sourceforge.net/ . it supports paging, sorting by column etc. for small resultsets (like 64 objects) it's very good.