telsale-management/代码/jsp/telsale_import/web/uploadPolicyData/uploadPolicyData.jsp

61 lines
1.8 KiB
Plaintext
Raw Normal View History

2018-06-19 07:52:20 +00:00
<%--
Created by IntelliJ IDEA.
User: Kane
Date: 2017/3/27
Time: 16:14
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=gb2312" language="java" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<html>
<head>
<title><3E><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD></title>
<link rel="icon" href="../image/telephone.png" >
<link rel="stylesheet" href="uploadPolicyData.css" >
</head>
<body>
<p><3E><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD></p>
<hr>
<form name="telSalePolicyDataUpload" method="post" action="<%=path%>/upload-policy-data" enctype="multipart/form-data" >
<label><3E>ļ<EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><input type="file" name="data-file-name" size="30"></label>
<input type="submit" name="upload" value="<22>ϴ<EFBFBD>">
<input type="reset" name="reset" value="<22><><EFBFBD><EFBFBD>">
</form>
2018-06-21 06:39:11 +00:00
<a href="../doc/<2F><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD>ܵ<EFBFBD><DCB5><EFBFBD>ģ<EFBFBD><C4A3>.xls" style="color:red;"><3E><><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a>
2018-07-03 01:45:17 +00:00
<%--<p style="display: inline"><3E><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>š<EFBFBD><C5A1><EFBFBD><EFBFBD>ƺš<C6BA><C5A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˡ<EFBFBD><CBA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˴<EFBFBD><CBB4><EFBFBD><EBA1A2><EFBFBD>̴<EFBFBD><CCB4><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD></p>--%>
2018-06-19 07:52:20 +00:00
<!--<2D>ϴ<EFBFBD><CFB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ-->
<%
int uploadCount = 0;
int successedCount = 0;
int failCount = 0;
String resultText = "<p><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־</p>";
Object result = session.getAttribute( "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־" );
if ( result != null )
{
//uploadCount = (int)session.getAttribute( "<22>ϴ<EFBFBD><CFB4><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>" );
//successedCount = (int)session.getAttribute( "<22><><EFBFBD><EFBFBD><EFBFBD>ɹ<EFBFBD><C9B9><EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>" );
//failCount = (int)session.getAttribute( "<22><><EFBFBD><EFBFBD>ʧ<EFBFBD>ܼ<EFBFBD>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>" );
resultText = (String)session.getAttribute( "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־" );
%><div id="resultDiv" ><%
}
else
{
%><div id="resultDiv" style="display:none;" ><%
}
%>
<%=resultText%>
</div>
<%
session.removeAttribute( "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־" );
%>
</body>
</html>