wood burning stoves 2.0
The moose likes Java in General and the fly likes Pagination in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Pagination in Java" Watch "Pagination in Java" New topic

Pagination in Java

Vivek Parolia

Joined: Dec 10, 2007
Posts: 1
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

Joined: Jun 06, 2007
Posts: 32

For Pagination we can use <displaytag> which will give pagination, sorting , grouping and so many features.

Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
What viewing framework are we talking about here? JSP? JSF? Swing perhaps?

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3753

"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

[OCA 8 Book] [Blog]
I agree. Here's the link: http://aspose.com/file-tools
subject: Pagination in Java
It's not a secret anymore!