📄 login_jsp.java
字号:
package org.apache.jsp.web.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
public final class login_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", 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("<title>登录</title>\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\n");
out.write(".header {font: 11px Tahoma, Verdana; color: #000000; font-weight: bold; background-color: #99CC66 }\r\n");
out.write(".maintable {width: 100%; background-color: #EFFFCE }\r\n");
out.write(".tableborder {background: #D6E0EF; border: 1px solid #000000 }\r\n");
out.write(".altbg1 {\tBACKGROUND: #f4f4f4\r\n");
out.write("}\r\n");
out.write(".altbg2 {\tBACKGROUND: #f8f8f8\r\n");
out.write("}\r\n");
out.write(".header1 {\tFONT: bold 11px Tahoma, Verdana; COLOR: #000000; BACKGROUND-COLOR: #99cc66\r\n");
out.write("}\r\n");
out.write(".maintable1 {\tWIDTH: 100%; BACKGROUND-COLOR: #efffce\r\n");
out.write("}\r\n");
out.write(".nav {\tFONT: bold 12px Tahoma, Verdana; COLOR: #000000\r\n");
out.write("}\r\n");
out.write(".singleborder {\tPADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 0px; PADDING-BOTTOM: 0px; LINE-HEIGHT: 1px; PADDING-TOP: 0px; BACKGROUND-COLOR: #f4f4f4\r\n");
out.write("}\r\n");
out.write(".smalltxt {\tFONT: 11px Arial, Tahoma\r\n");
out.write("}\r\n");
out.write(".tableborder1 {\tBORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BACKGROUND: #d6e0ef; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid\r\n");
out.write("}\r\n");
out.write("-->\r\n");
out.write("</style>\r\n");
out.write("</head>\r\n");
out.write("\r\n");
out.write("<body>\r\n");
out.write("<div class=\"maintable\">\r\n");
out.write(" <table cellspacing=\"1\" cellpadding=\"4\" width=\"98%\" align=\"center\" class=\"tableborder\">\r\n");
out.write(" <tr class=\"header\">\r\n");
out.write(" <td height=\"58\"><h1><div align=\"center\">BBS</div></h1></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("</div>\r\n");
out.write("<div class=\"maintable\">\r\n");
out.write(" <table cellspacing=\"1\" cellpadding=\"4\" width=\"98%\" align=\"center\" class=\"tableborder\">\r\n");
out.write("\t<tr class=\"header\">\r\n");
out.write(" <td height=\"58\"><div class=\"maintable1\"><br />\r\n");
out.write(" <table style=\"TABLE-LAYOUT: fixed\" cellspacing=\"0\" cellpadding=\"0\" width=\"98%\" \r\n");
out.write("align=\"center\" border=\"0\">\r\n");
out.write(" <tbody>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"nav\" nowrap=\"nowrap\" align=\"left\" width=\"90%\">» \r\n");
out.write(" 会员登录</td>\r\n");
out.write(" <td align=\"right\" width=\"10%\"> <a \r\n");
out.write(" href=\"http://www.19floor.com/logging.php?action=login#bottom\"></a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </tbody>\r\n");
out.write(" </table>\r\n");
out.write(" <br />\r\n");
out.write(" <form action=\"chklogin.jsp\" method=\"post\" name=\"login\" id=\"login\">\r\n");
out.write(" <input type=\"hidden\" \r\n");
out.write("value=\"6a49b97f\" name=\"formhash\" />\r\n");
out.write(" <input type=\"hidden\" value=\"index.jsp\" name=\"referer\" />\r\n");
out.write(" <table class=\"tableborder1\" cellspacing=\"1\" cellpadding=\"4\" width=\"98%\" align=\"center\">\r\n");
out.write(" <tbody>\r\n");
out.write(" <tr class=\"header1\">\r\n");
out.write(" <td colspan=\"2\">会员登录</td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"altbg1\">界面风格:</td>\r\n");
out.write(" <td class=\"altbg2\">统一风格</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"altbg1\">Cookie 有效期:</td>\r\n");
out.write(" <td class=\"altbg2\"><span class=\"smalltxt\">\r\n");
out.write(" <input type=\"radio\" value=\"315360000\" \r\n");
out.write(" name=\"cookietime\" />\r\n");
out.write(" 永久 \r\n");
out.write(" <input type=\"radio\" checked=\"checked\" value=\"2592000\" \r\n");
out.write(" name=\"cookietime\" />\r\n");
out.write(" 一个月 \r\n");
out.write(" <input type=\"radio\" value=\"86400\" name=\"cookietime\" />\r\n");
out.write(" 一天 \r\n");
out.write(" <input type=\"radio\" value=\"3600\" name=\"cookietime\" />\r\n");
out.write(" 一小时 \r\n");
out.write("\t\t\t\t\t <a href=\"help.jsp\" target=\"_blank\">[相关帮助]</a></span> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"singleborder\" colspan=\"2\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"altbg1\" width=\"21%\"> 用户名:<br /></td>\r\n");
out.write(" <td class=\"altbg2\"><span class=\"smalltxt\">\r\n");
out.write(" <input tabindex=\"2\" maxlength=\"40\" \r\n");
out.write(" size=\"25\" name=\"username\" />\r\n");
out.write(" <a href=\"registry.jsp\">立即注册</a></span></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"altbg1\">密码:</td>\r\n");
out.write(" <td class=\"altbg2\"><span class=\"smalltxt\">\r\n");
out.write(" <input tabindex=\"3\" type=\"password\" \r\n");
out.write(" size=\"25\" name=\"password\" />\r\n");
out.write(" <a \r\n");
out.write(" href=\"lostpass.jsp\">忘记密码</a></span></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </tbody>\r\n");
out.write(" </table>\r\n");
out.write(" <br />\r\n");
out.write(" <center>\r\n");
out.write(" <input type=\"submit\" value=\"提交\" name=\"loginsubmit\" />\r\n");
out.write(" </center>\r\n");
out.write(" </form>\r\n");
out.write(" <script language=\"JavaScript\" type=\"text/javascript\">\r\n");
out.write("document.login.username.focus();\r\n");
out.write("\r\n");
out.write("var mydate = new Date();\r\n");
out.write("var mytimestamp = parseInt(mydate.valueOf() / 1000);\r\n");
out.write("if(Math.abs(mytimestamp - 1151996730) > 86400) {\r\n");
out.write("window.alert('注意:\\n\\n您本地计算机的时间设定与论坛时间相差超过 24 个小时,\\n这可能会影响您的正常登录,请调整本地计算机设置。\\n\\n当前论坛时间是: (GMT +8) 2006-7-4 15:05\\n如果您认为论坛时间不准确,请与论坛管理员联系。');\r\n");
out.write("}\r\n");
out.write(" </script>\r\n");
out.write(" <br />\r\n");
out.write(" <br />\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("</div>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -