Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dispalying Page Number using <pg:pager> taglib

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic