DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    13

    How to Implement Paging

    Hi,
    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....


    Thanks,
    kris

  2. #2
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    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.

Similar Threads

  1. How to implement Paging
    By saikiran_kris in forum Java
    Replies: 3
    Last Post: 05-05-2006, 10:39 AM
  2. How to Implement Paging
    By saikiran_kris in forum Java
    Replies: 1
    Last Post: 05-05-2006, 10:39 AM
  3. Sample code for ASP.NET DataGrid paging
    By Bharati in forum ASP.NET
    Replies: 0
    Last Post: 11-24-2005, 11:17 PM
  4. Replies: 0
    Last Post: 09-02-2005, 07:28 PM
  5. Easy and powerful paging system for datalists
    By Active Up in forum dotnet.announcements
    Replies: 0
    Last Post: 05-13-2003, 09:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links