标签:
第一种实现方法:RequestDispacher rd = request.getRequestDispacher("include.jsp"); rd.forward(request, response);第二种实现方法:
response.sendRedirect("include.jsp");第二种实现方法:等价于:
response.setStatus(302); response.setHeader("location", "include.jsp");二者的区别:
标签:
原文地址:http://my.oschina.net/lhplj/blog/386226