/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.47
* Generated at: 2017-12-18 02:12:39 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.WEB_002dINF.view;
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 {
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 org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
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("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
out.write(" <head>\r\n");
out.write(" <meta charset=\"utf-8\" /> \r\n");
out.write(" <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /> \r\n");
out.write(" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /> \r\n");
out.write(" <title>登录</title> \r\n");
out.write(" <!-- Javascript --> \r\n");
out.write(" <script src=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/static/jquery-1.7.2.js\"></script> \r\n");
out.write(" <script type=\"text/javascript\">\r\n");
out.write("\t//登录\r\n");
out.write("\tfunction login() {\r\n");
out.write("\t if ($(\"#userName\").val() == null || $(\"#userName\").val() == '') {\r\n");
out.write("\t alert(\"请输入用户名!\");\r\n");
out.write("\t } else if ($(\"#pwd\").val() == null || $(\"#pwd\").val() == \"\") {\r\n");
out.write("\t alert(\"密码不能为空!\");\r\n");
out.write("\t } else {\r\n");
out.write("\t \tdocument.getElementById(\"form\").submit();\r\n");
out.write("\t }\r\n");
out.write("\r\n");
out.write("\t}\r\n");
out.write("\t//keydowm登录\r\n");
out.write("\tfunction keydown_login() {\r\n");
out.write("\t\tdocument.onkeydown = function (e){\r\n");
out.write("\t\tvar theEvent = window.event || e;\r\n");
out.write("\t var code = theEvent.keyCode || theEvent.which;\r\n");
out.write("\t if (code == 13 && (null != $(\"#pwd\").val())) {\r\n");
out.write("\t \ttheEvent.returnValue = false;\r\n");
out.write("\t \ttheEvent.cancel = true;\r\n");
out.write("\t document.getElementById(\"form\").submit();\r\n");
out.write("\t }\r\n");
out.write("\t\t}\r\n");
out.write("\t}\r\n");
out.write("\t</script>\r\n");
out.write(" </head> \r\n");
out.write(" <body> \r\n");
out.write(" <div class=\"error\">\r\n");
if (_jspx_meth_c_005fif_005f0(_jspx_page_context))
return;
out.write('\r');
out.write('\n');
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${error}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("\r\n");
out.write("</div>\r\n");
out.write(" <form method=\"post\" id=\"form\" action=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/loginTest\"> \r\n");
out.write(" <div class=\"form-group\"> \r\n");
out.write(" <label>Username</label> \r\n");
out.write(" <input type=\"text\" name=\"username\" id=\"userName\" /> \r\n");
out.write(" <label style=\"color: red; font-size: 14px; float: right; margin-right: 35px;\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${message}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("</label> \r\n");
out.write(" </div> \r\n");
out.write(" <div class=\"form-group\"> \r\n");
out.write(" <label >Password</label> \r\n");
out.write(" <input type=\"password\" name=\"password\" id=\"pwd\" /> \r\n");
out.write(" </div> \r\n");
out.write(" ");
out.write("\r\n");
out.write(" ");
out.write("\r\n");
out.write(" 验证码:\r\n");
out.write(" <input type=\"text\" name=\"jcaptchaCode\" />\r\n");
out.write(" <img class=\"jcaptcha-btn jcaptcha-img\" src=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/jcaptcha.jpg\" title=\"点击更换验证码\" />\r\n");
out.write(" <a class=\"jcaptcha-btn\" href=\"javascript:;\">换一张</a>\r\n");
out.write(" <br/>\r\n");
out.write(" ");
out.write("\r\n");
out.write(" <div class=\"checkbox\">\r\n");
out.write(" \t\t<label><input type=\"checkbox\" name=\"rememberMe\"/> RemeberMe</label>\r\n");
out.write(" \t\t</div>\r\n");
out.write(" \t\t\r\n");
out.write(" <button type=\"button\" class=\"btn\" onclick=\"login()\">Sign in!</button> \r\n");
out.write(" <