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.
gzf/WebRoot/message.jsp

35 lines
1.3 KiB

5 years ago
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en" class="bg-dark">
<head>
<meta charset="utf-8" />
<title>MESSAGES</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="stylesheet" href="<%=basePath %>resource/css/app.v2.css" type="text/css" />
<link rel="stylesheet" href="<%=basePath %>resource/css/font.css" type="text/css" cache="false" />
<!--[if lt IE 9]> <script src="js/ie/html5shiv.js" cache="false"></script> <script src="js/ie/respond.min.js" cache="false"></script> <script src="js/ie/excanvas.js" cache="false"></script> <![endif]-->
</head>
<body>
<!-- This is what you need -->
<script src="<%=basePath %>dist/sweetalert-dev.js"></script>
<link rel="stylesheet" href="<%=basePath %>dist/sweetalert.css">
<!--.......................-->
<script>
//swal("操作提醒","${message}","${state}");
alert("${state}:${message}");
setTimeout(function(){
window.location.href = "<%=basePath%>${url}";
},1000);
</script>
</body>
</html>