| Author |
JSP taglib Paggination
|
Ramkumar Subburaj
Ranch Hand
Joined: Sep 07, 2007
Posts: 83
|
|
Hi,
I want to display records from the db in the form of tables using pagination.
I found display tag as a useful one but I can see a problem with that.
The tag takes the list which contains the data and records per page to display the contents and pagination.
If the user clicks page no 2, all the records needs to be loaded into the list and given as input to the name attribute which doesnt makes sense i beleive.
Is what i say correct or is there any better of doing it.
I require a pagination taglib where I input the the total number of records, records per page, uri, page param amd it should give me the paginnation.
|
SCJP 1.5, SCWCD 1.4.
Hanging between Web Services and EJB
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 48842
|
|
|
This is covered in the JSP FAQ.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ramkumar Subburaj
Ranch Hand
Joined: Sep 07, 2007
Posts: 83
|
|
|
Can you please post the link
|
 |
Keith Flo
Ranch Hand
Joined: Nov 29, 2005
Posts: 126
|
|
|
here is the link .... JSP FAQ
|
kf
SCJP 5.0 (preparing for SCWCD)
|
 |
 |
|
|
subject: JSP taglib Paggination
|
|
|