public class PageUtil { private int totalCount;//总数 private int pageSize=10;//每页显示数量 private int currpageNum;//当前页 private int pageCount;//总页数 private int prePage;//上一页 private int nextPage;//下一页 private boolean hasPrePage;//是否有上一页 private boolean ha…
pageUtil类负责得到每页的开始数和结束数 package control; public class PageUtil { private int pageSize;//每页显示的条数 private int recordCount;//总共的条数 private int currentPage;//当前页面 public PageUtil(int pageSize, int recordCount, int currentPage){ this.pageSize = pageSize;…