You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
915 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ page language="java" pageEncoding="UTF-8"%>
<%
String path = request.getAttribute("path").toString();
String message = request.getAttribute("message").toString();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<html>
<script language="javascript">
<% if(message != null) { %>
alert("<%=message%>"); //如果 message不为空弹出message信息
<% } %>
<% if(path != null) { %>
document.location.href = "<%=path%>"; //如果路径不为空跳转到取得的path路径
<% } else {%>
window.history.back(); //否则返回历史记录中上一界面
<% } %>
</script>
<body>
</body>
</html>