This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Pagination in Java" Watch "Pagination in Java" New topic
Author

Pagination in Java

Vivek Parolia
Greenhorn

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

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

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: 3703
    
    5

"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


My Blog: Down Home Country Coding with Scott Selikoff
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pagination in Java
 
Similar Threads
Pagination
Pagination
Pagination
PAGINATION
Pagination