MySQL分页查询语句:
select * from student limit 0,3;//代表第0行数据开始,展示3行
页数为n,每页m行
select * from student limit (n-1)*m,m;
如果遇到下面这种错误,重启服务器就好,并不影响结果
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped
Operation not allowed after ResultSet closed
我的原因是ResultSet不关闭
来源:CSDN
作者:LDY19981028
链接:https://blog.csdn.net/LDY19981028/article/details/103604400