<%@ page language="java" pageEncoding="UTF-8"%><%
String path = request.getContextPath();
%>
<html>
<head>
<title></title>
<meta http-equiv="refresh" content="0;url=<%=path%>/action.do">
</head>
<body>
</body>
</html>

或者用JS跳转:
<%@ page language="java" pageEncoding="UTF-8"%><%
String path = request.getContextPath();
%>
<html>
<head>
<title></title>
</head>
<body>
<script>
document.location = '<%=path%>/action.do';
</script>
</body>
</html>

相关文章:

  • 2021-10-10
  • 2022-12-23
  • 2021-11-22
  • 2022-02-05
  • 2021-05-11
  • 2022-12-23
  • 2021-09-02
  • 2021-05-10
猜你喜欢
  • 2022-01-26
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
相关资源
相似解决方案