开发者

How to add pagination to data fetched from database in jsp

开发者 https://www.devze.com 2023-03-04 05:58 出处:网络
I have jsp page which diplays a huge data in table format in the开发者_C百科 jsp ..I want to add pagination so that by default only 20 entries are displayed in the page and click next to get other det

I have jsp page which diplays a huge data in table format in the开发者_C百科 jsp ..I want to add pagination so that by default only 20 entries are displayed in the page and click next to get other details..Please do send me the best links for pagination


  • You can use some param to maintain current slot of data for example pageNo=1 , Should fetch 1-20, pageNo=2 should fetch 20-40. and fetch only data when required.

  • There are many such view available. one of this is displayTag.

  • Also there is pageSorter jQuery plugin

0

精彩评论

暂无评论...
验证码 换一张
取 消