response.sendRedirect , // 重定向,服务器端将uri返回到客户端,客户端再次发送请求。

 

  RequestDispatcher  rd  =  getServletContext().getRequestDispatcher("/login.jsp"); 

  rd.forward(request,response);  //跳转,直接从服务器端访问 uri

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
猜你喜欢
  • 2021-07-18
  • 2022-12-23
  • 2021-12-05
  • 2021-08-24
  • 2021-12-05
  • 2021-12-05
  • 2021-08-17
相关资源
相似解决方案