How to Implement Paging


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to Implement Paging

  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

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center