int startIndex = (currPage-1)*5; //通过起始索引查询数据 List<UserBean> userList =dao.getUserListByStartIndex(startIndex); return userList; }然后 书写servlet方法 @WebServlet("/ShowUserListServlets") public class ShowUserListServlets extends HttpServlet { protected void doGet(HttpServletRequest ...