save_result2.jsp 1.37 KB
<%@ 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>