Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Pagination in jsp using tag library

Posted on 2007-07-24
2
Medium Priority
?
5,185 Views
Last Modified: 2013-11-24
Hi Experts,

I want to implement pagination in jsp using tag library. Can you please provide me some source code to do the same.

Thanks in advance
0
Comment
Question by:annapolistech
2 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 375 total points
ID: 19554652
0
 

Author Comment

by:annapolistech
ID: 19554767
Hi Tim,
I have tried using pager tag, but don't know why it is not working.
I'll list down my present scenario:

Iam able to get  the data from the database in a servlet and set the contents to their corresponding setter method in a supporting bean and then put the entire bean in a arraylist, finally using jstl core tags in jsp I am iterating the arraylist and printing 10 rows (which I have set default).
I am displaying the records in sets of 10, i.e., first [0-9]. Then when I click on the next set of 10 results, [10-19], I get a blank page.

Hope the above explanation does not confuse you.
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
A solution for Fortify Path Manipulation.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question