Servlet
response.sendRedirect(request.getContextPath()+"/index.jsp");
request.getRequestDispatcher("../index.jsp").forward(request, response);
求解这两个页面跳转用法的不同之处
response.sendRedirect(request.getContextPath()+"/index.jsp");
request.getRequestDispatcher("../index.jsp").forward(request, response);
求解这两个页面跳转用法的不同之处
2016-11-17
举报