save_result2.jsp
1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>保存结果</title>
<base href="<%=basePath%>">
<meta name="description" content="overview & stats" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
<style type="text/css">
#zhongxin{
text-align:center;
padding-top:50px;
}
.fail{
text-align:center;
margin-bottom:-30px;
}
.fail p{
font-size:16px;
color:#ff006a;
font-weight:bolder;
}
</style>
</head>
<body>
<c:if test="${state =='fail'}">
<div class="fail">
<img src="static/images/fail.png" width="100px" />
<p>导入失败</p>
</div>
</c:if>
<div id="zhongxin">${msg}</div>
<script type="text/javascript">
var msg = "${msg}";
if(msg=="success" || msg==""){
document.getElementById('zhongxin').style.display = 'none';
window.top.modal.remove();
}else{
// window.top.modal.remove();
}
</script>
</body>
</html>