Spring MVC 3 使用 PagedListHolder 进行分页
我想使用 PagedListHolder 进行分页。
我在页面上显示产品列表。当请求下一页时,我必须调用 RESTFul 服务来获取结果。因此,我没有“来源列表”。另外,我无法在用户会话中缓存任何内容,因为产品列表的生命周期与用户会话不同。
Spring 中是否还有其他开箱即用的分页实现可供我使用?
I'd like to use PagedListHolder to do pagination.
I display a list of products on a page. When the next page is requested, I must make a call to a RESTFul service for the results. Hence, there's no "source list" for me. Also, I cannot cache anything in the user session as the lifetime of a list of products is different than the user's session.
Is there some other out of the box implementation in Spring for pagination that I can use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查这个框架。Spring 分页。但 JQuery 数据表被广泛采用。您可以查看的一些示例是 数据表
Check this framework.Spring Pagination. But JQuery Data tables is a very widely adopted. Some of the examples that you can look at is Data-tables