Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dispalying Page Number using <pg:pager> taglib  RSS feed

 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am using cachedrowset to fetch 16 records at a time from the resultset and display in the jsp using <pager> taglib.
Fetching of 16 record works but how to give the page number as per pager taglib.
I referred http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html# but they didnt mention how they get the pageNumber.
If its in any request scope ,then how to set that variable in java side.
Because in java side i will be getting the page no from the jsp side,to fetch the corresponding records for the page number clicked.



Thanks
Amarshi Mohanty
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!