PageHelper分页工具
<a>共${page.total}件商品</a>    <a>共${page.pages}页</a>    <a>当前第${page.pageNum}页</a>    <a>每页${page.pageSize}条</a>    <a href="showCar?uid=${sessionScope.user.uid}&page=1">首页</a>    <C:if test="${!page.isFirstPage}"> <a href="showCar?uid=${sessionScope.user.uid}&page=${page.prePage}">上一页</a>    </C:if> <C:if test="${page.isFirstPage}"> <a href="javascript:void(0);">上一页</a>    </C:if> <C:if test="${!page.isLastPage}"> <a href="showCar?uid=${sessionScope.user.uid}&page=${page.nextPage}">下一页</a>    </C:if> <C:if test="${page.isLastPage}"> <a href="#">下一页</a>    </C:if> <a href="showCar?uid=${sessionScope.user.uid}&page=${page.pages}">尾页</a>    PageHelper.startPage(page, 1); List<Goodsandcar> goodsandcars = goodsandcarMapper.findGoods(uid); PageInfo<Goodsandcar> pageInfo = new PageInfo<>(goodsandcars);