使用ajax实现无刷新分页
request.setCharacterEncoding("UTF-8"); response.setContentType("text/html;charset=UTF-8"); PrintWriter out = response.getWriter(); PageBean pagebean=new PageBean(); pagebean.setPageSize(2); String pindex= request.getParameter("index"); if(pindex==null) { pagebea