HTTP中的重定向和请求转发的区别

http://www.javashuo.com/article/p-bstqiytf-na.html 一、调用方式 我们知道,在servlet中调用转发、重定向的语句如下: request.getRequestDispatcher("new.jsp").forward(request, response);//转发到new.jsp response.sendRedirect("new.jsp");
相关文章
相关标签/搜索