mysql分页问题。 前端实现这样的功能: 第1页 第2页 第3页 第4页 第5页 第6页 第7页 第8页 第9页 第10页 第3页 第4页 第5页 第6页 第7页 第8页 第9页 第10页 第11页 第12页 c:forEach begin="" end="" var="" 用这个可以实现。 但是 如果数据值大了。就会消耗
mysql分页问题。
前端实现这样的功能:
第1页 第2页 第3页 第4页 第5页 第6页 第7页 第8页 第9页 第10页
第3页 第4页 第5页 第6页
第7页 第8页 第9页 第10页 第11页 第12页
用这个可以实现。 但是 如果数据值大了。就会消耗很多内存。
就这么个循环:会消耗60M内存。
1 楼
u011517906
6 小时前
用ajax异步调用,然后在用mysql分页?
2 楼
liubey
5 小时前
你用的ibatis还是hibernate 你的分页语句没写好
Stellungnahme:Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn