跳转的两种方式(转发与重定向)

转发:request.getRequestDispather("URL").forword(request,response);地址栏没有改变;

重定向:response.sendRedirect("URL");地址栏会改变;

原文地址:https://www.cnblogs.com/renpei/p/6475675.html