Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pagination in Java

 
Vivek Parolia
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any existing API in Java for Pagination? what is the best implementation for pagination. I'm retriving 20 records at a time from my db and i want to show link for five pages at a time (current page in red).
 
Siva Prasad Reddy Katamreddy
Ranch Hand
Posts: 32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
For Pagination we can use <displaytag> which will give pagination, sorting , grouping and so many features.

http://displaytag.sourceforge.net/10/tagreference-displaytag-12.html
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What viewing framework are we talking about here? JSP? JSF? Swing perhaps?
 
Scott Selikoff
author
Saloon Keeper
Posts: 4028
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"PrasadReddy K"

Your name still does not conform to the JavaRanch Naming Policy. Please review the policy and update it appropriately. This is your second warning.

Scott Selikoff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic