简体   繁体   English

春天的分页

[英]Pagination in Spring

I am really struggling to understand a way to implement pagination in Spring MVC and I have my deadline coming later this week. 我真的很难理解在Spring MVC中实现分页的方法,我的截止日期是本周晚些时候。 I have been stuck on this forever. 我一直坚持下去。

My problem is as follows:- 我的问题如下:

  1. We get a list after accessing the web-services of our client. 访问客户的网络服务后,我们会得到一个列表。
  2. The only thing that I can work with is the list that I have. 我唯一可以使用的就是列表。
  3. I have to implement Pagination using this Spring. 我必须使用这个Spring来实现分页。

Can someone explain the flow of pagination in detail? 有人可以详细解释分页流程吗?

Have a look at this plugin. 看看这个插件。 Very configurable. 非常可配置。 The only catch is that you have to use jquery on your jsp/html page which is not bad at all. 唯一的问题是您必须在jsp / html页面上使用jquery,这一点也不差。 So get the list from the web server and dynamically construct a table from the list. 因此,从Web服务器获取列表,并根据列表动态构建表。 configure data tables and let it handle the render. 配置数据表并使其处理渲染。 Spring has no support for front end development. Spring不支持前端开发。

http://www.datatables.net/ http://www.datatables.net/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM