?? login_jsp.java
字號:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.Hashtable;
import java.util.ArrayList;
import java.util.Iterator;
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;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"/error/error.jsp", true, 8192, true);
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");
bean.roles.RolesBean roles = null;
synchronized (pageContext) {
roles = (bean.roles.RolesBean) pageContext.getAttribute("roles", PageContext.PAGE_SCOPE);
if (roles == null){
try {
roles = (bean.roles.RolesBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "bean.roles.RolesBean");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "bean.roles.RolesBean", exc);
}
pageContext.setAttribute("roles", roles, PageContext.PAGE_SCOPE);
}
}
out.write("\r\n\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>安徽移動綜合管理信息系統 IMIS v1.0");
out.write("</title>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\n.top_buttom {\r\n\tborder-bottom-width: 1px;\r\n\tborder-bottom-style: solid;\r\n\tborder-bottom-color: #000000;\r\n\tborder-top-width: 1px;\r\n\tborder-right-width: 1px;\r\n\tborder-left-width: 1px;\r\n\tborder-top-style: solid;\r\n\tborder-top-color: #000000;\r\n\tborder-right-color: #000000;\r\n\tborder-left-color: #000000;\r\n}\r\n.tab {\r\n\tborder-left:2px solid 6585B6; border-right:2px solid 6585B6; border-top:2px none 6585B6; border-bottom:2px solid 6585B6; \r\n}\r\n.inpu {\r\n\tborder: 1px solid #8C8C8C;\r\n\theight: 19px;\r\n\twidth: 100px;\r\n}\r\n.font {\r\n\tfont-size: 17px;\r\n\tcolor: #666666;\r\n\ttext-decoration: none;\r\n}\r\n-->\r\n");
out.write("</style>\r\n");
out.write("</head>\r\n");
out.write("<body onload=\"load()\" topmargin=\"5\" leftmargin=\"0\">\r\n\t\r\n");
out.write("<script language=\"JavaScript\">\r\n\r\n function load(){\r\n document.frmlogin.loginuser.focus(); \t\t \r\n return true;\r\n } \r\n function IsValid(){\r\n \ttemp=document.frmlogin.loginuser.value;\r\n \ttemp.replace(\" \",\"\");\r\n \tif (temp==\"\") document.frmlogin.loginuser.value=temp;\r\n \ttemp=document.frmlogin.password.value;\r\n \ttemp.replace(\" \",\"\");\r\n \tif (temp==\"\") document.frmlogin.password.value=temp; \t\r\n \t\t\r\n\t\tif (document.frmlogin.loginuser.value.indexOf(\"*\") != -1) {\r\n\t\t\t\tdocument.frmlogin.href=\"SignIn.htm\";\t\t\t\t\r\n\t\t\t\treturn false;\r\n\t\t\t\t}\r\n \tif (document.frmlogin.loginuser.value.length==0) {\r\n \t\twindow.alert(\"請輸入用戶名\");\r\n \t\tdocument.frmlogin.loginuser.focus();\r\n \t\treturn false;\r\n \t\t}\r\n \tif (document.frmlogin.password.value.length==0) {\r\n \twindow.alert(\"請輸入密碼\");\r\n \tdocument.frmlogin.password.focus();\r\n");
out.write(" \treturn false;\r\n \t}\r\n\t\t\t\t\t \t\r\n return true;\r\n\t }\r\n\t\r\n\t\t\r\n ");
out.write("</script>\t\r\n\t\r\n");
out.write("<form method=\"POST\" action=\"login_process.jsp\" name=\"frmlogin\" onSubmit=\"return IsValid()\">\t\r\n");
out.write("<table background=\"images/back.gif\" height=\"541\" align=\"center\" width=\"937\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n ");
out.write("<!--DWLayoutTable-->\r\n");
out.write("<tr>\r\n\t");
out.write("<td rowspan=\"2\" valign=\"top\"> ");
out.write("</td>\r\n ");
out.write("<td height=\"90\" colspan=\"3\" valign=\"top\"> ");
out.write("</td>\r\n ");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n ");
out.write("<td height=\"64\" colspan=\"3\" valign=\"top\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n ");
out.write("<td> ");
out.write("</td>\r\n ");
out.write("<td align=\"center\" valign=\"top\" height=\"260\" colspan=\"3\">\r\n \t \r\n\t ");
out.write("</td>\r\n ");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n\t\t");
out.write("<td> ");
out.write("</td>\r\n ");
out.write("<td align=\"right\">");
out.write("<font size=\"2\" style=\"font-size: 12px\" > 工 號:");
out.write("</font>");
out.write("</td> \r\n ");
out.write("<td align=\"right\" height=\"27\" valign=\"middle\">\r\n ");
out.write("<input type=\"text\" size=\"17\" name=\"loginuser\" style=\"border:1px solid #127ace; FONT-SIZE: 9pt; COLOR: #078bdf; FONT-FAMILY: Verdana; float:left\" > \t ");
out.write("</td>\r\n ");
out.write("<td align=\"center\" valign=\"top\" rowspan=\"3\">\r\n \t \r\n \r\n \t \r\n\t ");
out.write("</td>\r\n ");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n\t\t");
out.write("<td> ");
out.write("</td>\r\n ");
out.write("<td align=\"right\">");
out.write("<font size=\"2\" style=\"font-size: 12px\" >密 碼:");
out.write("</font>");
out.write("</td> \r\n ");
out.write("<td align=\"right\" height=\"32\" valign=\"middle\"> \r\n ");
out.write("<input type=\"password\" size=\"17\" name=\"password\" style=\"border:1px solid #127ace; FONT-SIZE: 9pt; COLOR: #078bdf; FONT-FAMILY: Verdana; float:left\" >");
out.write("</td> \r\n ");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n\t\t");
out.write("<td> ");
out.write("</td>\r\n ");
out.write("<td align=\"center\" valign=\"top\" height=\"29\" colspan=\"2\"> \r\n \t \r\n \t ");
out.write("<INPUT type=\"submit\" value=\"登 錄\" name=\"bSubmit\" style=\"font-size: 12px; color: #078bdf; background: #ffffe0; line-height: 100%; font-family: 宋體; border: 1px solid #31639c; padding-top: 2px; padding-bottom: 0px\"> \r\n\t ");
out.write("<INPUT type=\"reset\" value=\"重 置\" name=\"bReset\" style=\"font-size: 12px; color: #078bdf; background: #ffffe0; line-height: 100%; font-family: 宋體; border: 1px solid #31639c; padding-top: 2px; padding-bottom: 0px\">\t ");
out.write("</td> \r\n ");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n\t\t");
out.write("<td> ");
out.write("</td>\r\n ");
out.write("<td align=\"center\" valign=\"top\" height=\"13\" colspan=\"3\"\r\n > \r\n \t \r\n \r\n \t \r\n\t ");
out.write("</td> \r\n ");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n\t\t");
out.write("<td width=\"536\"> ");
out.write("</td>\r\n\t\t");
out.write("<td width=\"126\"> ");
out.write("</td>\r\n\t\t");
out.write("<td width=\"185\"> ");
out.write("</td>\r\n\t\t");
out.write("<td height=\"21\" width=\"90\"> ");
out.write("</td>\r\n\t");
out.write("</tr>\r\n ");
out.write("</table> \r\n ");
out.write("<table border=\"0\" width=\"100%\" id=\"table1\">\r\n\t");
out.write("<tr>\r\n\t ");
out.write("<td height=\"19\"> \t ");
out.write("</td>\r\n\t");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n\t\t");
out.write("<td>\r\n\t\t");
out.write("<p align=\"center\">");
out.write("<font color=\"#078BDF\" style=\"font-family: Arial; style; font-size: 13px; letter-spacing:0px\" >Copyright 2008 \r\n\t\t南京恩普計算機技術有限公司");
out.write("</font>");
out.write("</td>\r\n\t");
out.write("</tr>\r\n\t");
out.write("<tr>\r\n\t\t");
out.write("<td>\r\n\t\t");
out.write("<p align=\"center\">");
out.write("<font style=\"font-family: Arial; style; font-size: 13px; letter-spacing:0px\">");
out.write("<font color=\"#078BDF\">技術支持 ");
out.write("</font>\r\n\t\t");
out.write("<a href=\"mailto: aizh@njupt.edu.cn\" style=\"font-family: Arial; style; font-size: 13px; letter-spacing:0px\">");
out.write("<font color=\"#078BDF\">\r\n\t\taizh@njupt.edu.cn");
out.write("</font>");
out.write("</a>");
out.write("<font color=\"#078BDF\" style=\"font-family: Arial; style; font-size: 13px; letter-spacing:0px\"> 版權:安徽省移動有限公司六安分公司 \r\n\t\t建議使用分辨率 1024");
out.write("<span lang=\"en\">");
out.write("<font face=\"宋體\" style=\"font-family: Arial; style; font-size: 13px; letter-spacing:0px\">×");
out.write("</font>");
out.write("</span>768");
out.write("</font>");
out.write("</font>");
out.write("</td> \r\n\t");
out.write("</tr>\r\n");
out.write("</table>\r\n");
out.write("</form>\r\n\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 (pageContext != null) pageContext.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -