location.href="SelTaskInformationServlet?currentPage="+currentPage+"&pageSize="+pageSize 其中currentPage和pageSize是有值的,为:SelTaskInformationServlet?currentPage=1&pageSize=5 Servlet中获取的代码为: String tempCp = request.getParameter("currentPage"); String tempPs = request.getParameter("pageSize"); 然后tempCp和tempPs 为null,请问大神们这是为什么?