<%@ page language="java" contentType="text/html;charset=UTF-8" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>操作结果</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
</head>
<body >
<div style="position: absolute; top:50%; left: 0; right: 0; margin-top: -50px;text-align: center;">
    <img src="<%=request.getContextPath() %>/ok.png" style="vertical-align: middle;">
    <span style="font-size: 2em;">${message}</span>
    <div>2 秒后自动跳转到上一页。</div>
</div>
 <script type="text/javascript">
     setTimeout(function(){
         window.location.href="<%=request.getContextPath() %>/${toPage}";
     },2000);
 </script>
</body>
</html>
