时间:2021-07-01 10:21:17 帮助过:17人阅读
RequestDispacher rd = request.getRequestDispacher("include.jsp");rd.forward(request, response);第二种实现方法:
response.sendRedirect("include.jsp");第二种实现方法:等价于:
response.setStatus(302);response.setHeader("location", "include.jsp");二者的区别: