Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP taglib Paggination  RSS feed

 
Ramkumar Subburaj
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66184
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is covered in the JSP FAQ.
 
Ramkumar Subburaj
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please post the link
 
Keith Flo
Ranch Hand
Posts: 128
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the link .... JSP FAQ
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!