mirror of https://gitee.com/zhang_1334717033/kiftd
[重大更新]更新至v1.0.1稳定版
parent
081346a9c8
commit
a574388cbb
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -32,7 +32,7 @@ authOverall = l
|
|||
#[Login and browse home page]
|
||||
#This setting means visitor could browse file list if not login
|
||||
#If you want any visitor must log in to entry the home page,you can set this value is N
|
||||
#(N = no;O = off)
|
||||
#(N = oN;O = off)
|
||||
#Example:
|
||||
#mustLogin = N
|
||||
mustLogin = O
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Generated by the Jasper component of Apache Tomcat
|
||||
* Version: Apache Tomcat/9.0.0.M17
|
||||
* Generated at: 2018-03-22 07:13:38 UTC
|
||||
* Generated at: 2018-03-23 01:20:08 UTC
|
||||
* Note: The last modified time of this file was set to
|
||||
* the last modified time of the source file after
|
||||
* generation to assist with modification tracking.
|
||||
|
|
@ -123,7 +123,7 @@ public final class home_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|||
out.write("<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n");
|
||||
out.write("<title>KIFT</title>\n");
|
||||
out.write("<link rel=\"stylesheet\" href=\"css/bootstrap.min.css\">\n");
|
||||
out.write("<link rel=\"stylesheet\" href=\"css/overrall.css\">\n");
|
||||
out.write("<link rel=\"stylesheet\" href=\"css/overrall.min.css\">\n");
|
||||
out.write("<link rel=\"icon\" type=\"image/x-icon\" href=\"css/icon.png\" />\n");
|
||||
out.write("</head>\n");
|
||||
out.write("\n");
|
||||
|
|
@ -505,7 +505,7 @@ public final class home_jsp extends org.apache.jasper.runtime.HttpJspBase
|
|||
out.write("</body>\n");
|
||||
out.write("<script type=\"text/javascript\" src=\"js/jquery-3.3.1.min.js\"></script>\n");
|
||||
out.write("<script type=\"text/javascript\" src=\"js/bootstrap.min.js\"></script>\n");
|
||||
out.write("<script type=\"text/javascript\" src=\"js/home.js\"></script>\n");
|
||||
out.write("<script type=\"text/javascript\" src=\"js/home.min.js\"></script>\n");
|
||||
out.write("</html>");
|
||||
} catch (java.lang.Throwable t) {
|
||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,217 @@
|
|||
/*
|
||||
* Generated by the Jasper component of Apache Tomcat
|
||||
* Version: Apache Tomcat/9.0.0.M17
|
||||
* Generated at: 2018-03-23 02:34:36 UTC
|
||||
* Note: The last modified time of this file was set to
|
||||
* the last modified time of the source file after
|
||||
* generation to assist with modification tracking.
|
||||
*/
|
||||
package org.apache.jsp;
|
||||
|
||||
import javax.servlet.*;
|
||||
import javax.servlet.http.*;
|
||||
import javax.servlet.jsp.*;
|
||||
|
||||
public final class login_jsp extends org.apache.jasper.runtime.HttpJspBase
|
||||
implements org.apache.jasper.runtime.JspSourceDependent,
|
||||
org.apache.jasper.runtime.JspSourceImports {
|
||||
|
||||
private static final javax.servlet.jsp.JspFactory _jspxFactory =
|
||||
javax.servlet.jsp.JspFactory.getDefaultFactory();
|
||||
|
||||
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
|
||||
|
||||
private static final java.util.Set<java.lang.String> _jspx_imports_packages;
|
||||
|
||||
private static final java.util.Set<java.lang.String> _jspx_imports_classes;
|
||||
|
||||
static {
|
||||
_jspx_imports_packages = new java.util.HashSet<>();
|
||||
_jspx_imports_packages.add("javax.servlet");
|
||||
_jspx_imports_packages.add("javax.servlet.http");
|
||||
_jspx_imports_packages.add("javax.servlet.jsp");
|
||||
_jspx_imports_classes = null;
|
||||
}
|
||||
|
||||
private volatile javax.el.ExpressionFactory _el_expressionfactory;
|
||||
private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;
|
||||
|
||||
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
|
||||
return _jspx_dependants;
|
||||
}
|
||||
|
||||
public java.util.Set<java.lang.String> getPackageImports() {
|
||||
return _jspx_imports_packages;
|
||||
}
|
||||
|
||||
public java.util.Set<java.lang.String> getClassImports() {
|
||||
return _jspx_imports_classes;
|
||||
}
|
||||
|
||||
public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
|
||||
if (_el_expressionfactory == null) {
|
||||
synchronized (this) {
|
||||
if (_el_expressionfactory == null) {
|
||||
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
|
||||
}
|
||||
}
|
||||
}
|
||||
return _el_expressionfactory;
|
||||
}
|
||||
|
||||
public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
|
||||
if (_jsp_instancemanager == null) {
|
||||
synchronized (this) {
|
||||
if (_jsp_instancemanager == null) {
|
||||
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
|
||||
}
|
||||
}
|
||||
}
|
||||
return _jsp_instancemanager;
|
||||
}
|
||||
|
||||
public void _jspInit() {
|
||||
}
|
||||
|
||||
public void _jspDestroy() {
|
||||
}
|
||||
|
||||
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
|
||||
throws java.io.IOException, javax.servlet.ServletException {
|
||||
|
||||
final java.lang.String _jspx_method = request.getMethod();
|
||||
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
|
||||
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD");
|
||||
return;
|
||||
}
|
||||
|
||||
final javax.servlet.jsp.PageContext pageContext;
|
||||
javax.servlet.http.HttpSession session = null;
|
||||
final javax.servlet.ServletContext application;
|
||||
final javax.servlet.ServletConfig config;
|
||||
javax.servlet.jsp.JspWriter out = null;
|
||||
final java.lang.Object page = this;
|
||||
javax.servlet.jsp.JspWriter _jspx_out = null;
|
||||
javax.servlet.jsp.PageContext _jspx_page_context = null;
|
||||
|
||||
|
||||
try {
|
||||
response.setContentType("text/html; charset=UTF-8");
|
||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
||||
null, true, 8192, true);
|
||||
_jspx_page_context = pageContext;
|
||||
application = pageContext.getServletContext();
|
||||
config = pageContext.getServletConfig();
|
||||
session = pageContext.getSession();
|
||||
out = pageContext.getOut();
|
||||
_jspx_out = out;
|
||||
|
||||
out.write('\n');
|
||||
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
|
||||
out.write("\n");
|
||||
out.write("<!doctype html>\n");
|
||||
out.write("<html>\n");
|
||||
out.write("<head>\n");
|
||||
out.write("<base href=\"");
|
||||
out.print(basePath);
|
||||
out.write("\">\n");
|
||||
out.write("<meta charset=\"UTF-8\">\n");
|
||||
out.write("<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n");
|
||||
out.write("<title>KIFT</title>\n");
|
||||
out.write("<link rel=\"stylesheet\" href=\"css/bootstrap.min.css\">\n");
|
||||
out.write("<link rel=\"stylesheet\" href=\"css/overrall.min.css\">\n");
|
||||
out.write("<link rel=\"icon\" type=\"image/x-icon\" href=\"css/icon.png\" />\n");
|
||||
out.write("</head>\n");
|
||||
out.write("\n");
|
||||
out.write("<body>\n");
|
||||
out.write("\t");
|
||||
out.write("\n");
|
||||
out.write("\t<div class=\"container\">\n");
|
||||
out.write("\n");
|
||||
out.write("\t\t");
|
||||
out.write("\n");
|
||||
out.write("\t\t<div class=\"row\">\n");
|
||||
out.write("\t\t\t<div class=\"col-md-12\">\n");
|
||||
out.write("\t\t\t\t<div class=\"titlebox\">\n");
|
||||
out.write("\t\t\t\t\t<span class=\"titletext\"><em> 青阳网络文件传输系统 <small><span\n");
|
||||
out.write("\t\t\t\t\t\t\t\tclass=\"graytext\">KIFT</span></small></em></span>\n");
|
||||
out.write("\t\t\t\t</div>\n");
|
||||
out.write("\t\t\t\t<hr />\n");
|
||||
out.write("\t\t\t</div>\n");
|
||||
out.write("\t\t</div>\n");
|
||||
out.write("\t\t");
|
||||
out.write("\n");
|
||||
out.write("\n");
|
||||
out.write("\t\t");
|
||||
out.write("\n");
|
||||
out.write("\t\t<div class=\"row\">\n");
|
||||
out.write("\t\t\t<div class=\"col-md-4 col-md-offset-4\">\n");
|
||||
out.write("\t\t\t\t<p class=\"centerText\" style=\"font-size: 30px;color: #4D4D4D\">\n");
|
||||
out.write("\t\t\t\t\t<strong>欢迎使用青阳网络文件传输系统</strong><em>KIFT</em></p>\n");
|
||||
out.write("\t\t\t\t<p class=\"centerText\" style=\"font-size: 18px;color: #9C9C9C\">\n");
|
||||
out.write("\t\t\t\t\t<span class=\"glyphicon glyphicon-user\"></span> 您需要登录以进入系统</p>\n");
|
||||
out.write("\t\t\t\t<div class=\"panel panel-default\">\n");
|
||||
out.write("\t\t\t\t\t<div class=\"panel-heading\">\n");
|
||||
out.write("\t\t\t\t\t\t<h3 class=\"panel-title\">请登录</h3>\n");
|
||||
out.write("\t\t\t\t\t</div>\n");
|
||||
out.write("\t\t\t\t\t<div class=\"panel-body\">\n");
|
||||
out.write("\t\t\t\t\t\t<form class=\"form-horizontal\">\n");
|
||||
out.write("\t\t\t\t\t\t\t<div class=\"form-group\" id=\"accountidbox\">\n");
|
||||
out.write("\t\t\t\t\t\t\t\t<label for=\"accountid\" id=\"accountidtitle\"\n");
|
||||
out.write("\t\t\t\t\t\t\t\t\tclass=\"col-sm-3 control-label\">账户:</label>\n");
|
||||
out.write("\t\t\t\t\t\t\t\t<div class=\"col-sm-9\">\n");
|
||||
out.write("\t\t\t\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" id=\"accountid\"\n");
|
||||
out.write("\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入账户……\">\n");
|
||||
out.write("\t\t\t\t\t\t\t\t</div>\n");
|
||||
out.write("\t\t\t\t\t\t\t</div>\n");
|
||||
out.write("\t\t\t\t\t\t\t<div class=\"form-group\" id=\"accountpwdbox\">\n");
|
||||
out.write("\t\t\t\t\t\t\t\t<label for=\"accountpwd\" id=\"accountpwdtitle\"\n");
|
||||
out.write("\t\t\t\t\t\t\t\t\tclass=\"col-sm-3 control-label\">密码:</label>\n");
|
||||
out.write("\t\t\t\t\t\t\t\t<div class=\"col-sm-9\">\n");
|
||||
out.write("\t\t\t\t\t\t\t\t\t<input type=\"password\" class=\"form-control\" id=\"accountpwd\"\n");
|
||||
out.write("\t\t\t\t\t\t\t\t\t\tplaceholder=\"请输入密码……\">\n");
|
||||
out.write("\t\t\t\t\t\t\t\t</div>\n");
|
||||
out.write("\t\t\t\t\t\t\t</div>\n");
|
||||
out.write("\t\t\t\t\t\t\t<br />\n");
|
||||
out.write("\t\t\t\t\t\t\t<div id=\"alertbox\" role=\"alert\"></div>\n");
|
||||
out.write("\t\t\t\t\t\t\t<input class=\"form-control btn-success\" type=\"button\" value=\"登录\"\n");
|
||||
out.write("\t\t\t\t\t\t\t\tonclick=\"dologin()\"> <br />\n");
|
||||
out.write("\t\t\t\t\t\t</form>\n");
|
||||
out.write("\t\t\t\t\t</div>\n");
|
||||
out.write("\t\t\t\t</div>\n");
|
||||
out.write("\t\t\t</div>\n");
|
||||
out.write("\t\t</div>\n");
|
||||
out.write("\t\t");
|
||||
out.write("\n");
|
||||
out.write("\n");
|
||||
out.write("\t</div>\n");
|
||||
out.write("\t");
|
||||
out.write("\n");
|
||||
out.write("</body>\n");
|
||||
out.write("<script type=\"text/javascript\" src=\"js/jquery-3.3.1.min.js\"></script>\n");
|
||||
out.write("<script type=\"text/javascript\" src=\"js/bootstrap.min.js\"></script>\n");
|
||||
out.write("<script type=\"text/javascript\" src=\"js/login.js\"></script>\n");
|
||||
out.write("</html>");
|
||||
} catch (java.lang.Throwable t) {
|
||||
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
|
||||
out = _jspx_out;
|
||||
if (out != null && out.getBufferSize() != 0)
|
||||
try {
|
||||
if (response.isCommitted()) {
|
||||
out.flush();
|
||||
} else {
|
||||
out.clearBuffer();
|
||||
}
|
||||
} catch (java.io.IOException e) {}
|
||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
||||
else throw new ServletException(t);
|
||||
}
|
||||
} finally {
|
||||
_jspxFactory.releasePageContext(_jspx_page_context);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue