1.页面自动跳转:

<meta http-equiv="refresh" content="0.1;url=login/login_toLogin.action">

2.jsp中获取项目名(得到"/myProjectName"):

<%=request.getContextPath()%>


 

 


 

相关文章:

  • 2021-05-27
  • 2022-12-23
  • 2022-01-16
  • 2021-10-23
  • 2022-01-26
  • 2022-01-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-01
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
相关资源
相似解决方案