⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login_jsp.java

📁 宽带网收费系统的前台
💻 JAVA
字号:
package org.apache.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("<!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("<!-- DW6 -->\r\n");
      out.write("<head>\r\n");
      out.write("<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->\r\n");
      out.write("<title>Home Page</title>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n");
      out.write("<link rel=\"stylesheet\" href=\"mm_health_nutr.css\" type=\"text/css\" />\r\n");
      out.write("<script language=\"JavaScript\" type=\"text/javascript\">\r\n");
      out.write("//--------------- LOCALIZEABLE GLOBALS ---------------\r\n");
      out.write("var d=new Date();\r\n");
      out.write("var monthname=new Array(\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\");\r\n");
      out.write("//Ensure correct for language. English is \"January 1, 2004\"\r\n");
      out.write("var TODAY = monthname[d.getMonth()] + \" \" + d.getDate() + \", \" + d.getFullYear();\r\n");
      out.write("//---------------   END LOCALIZEABLE   ---------------\r\n");
      out.write("</script>\r\n");
      out.write("<script>\r\n");
      out.write("function openAdmin(){\r\n");
      out.write("\topen(\"manage/admin.jsp\",\"_self\")\r\n");
      out.write("}\r\n");
      out.write("function openWork(){\r\n");
      out.write("\topen(\"worker/work.jsp\",\"_self\")\r\n");
      out.write("}\r\n");
      out.write("function openIndex(){\r\n");
      out.write("     if(document.form2.username.value==\"\"){\r\n");
      out.write("\t  \twindow.alert(\"用户名不能为空!\");\r\n");
      out.write("\t  \tdocument.form2.username.focus();\r\n");
      out.write("\t  \treturn false;\r\n");
      out.write("\t }\r\n");
      out.write("     if(document.form2.password.value==\"\"){\r\n");
      out.write("\t  \twindow.alert(\"密码不能为空!\");\r\n");
      out.write("\t  \tdocument.form2.password.focus();\r\n");
      out.write("\t  \treturn false;\r\n");
      out.write("\t }\r\n");
      out.write("\t    return true;\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("<link href=\"css/sumistyle.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
      out.write("</head>\r\n");
      out.write("<body bgcolor=\"#F4FFE4\">\r\n");
      out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("  <tr bgcolor=\"#D5EDB3\">\r\n");
      out.write("    <td colspan=\"3\" rowspan=\"2\"><img src=\"mm_health_photo.jpg\" alt=\"Header image\" width=\"382\" height=\"101\" border=\"0\" /></td>\r\n");
      out.write("    <td height=\"50\" colspan=\"3\" id=\"logo\" valign=\"bottom\" align=\"center\" nowrap=\"nowrap\">宽带网收费系统</td>\r\n");
      out.write("    <td width=\"371\">&nbsp;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("\r\n");
      out.write("  <tr bgcolor=\"#D5EDB3\">\r\n");
      out.write("    <td height=\"51\" colspan=\"3\" id=\"tagline\" valign=\"top\" align=\"center\"><marquee width=\"400\">\r\n");
      out.write("<span class=\"STYLE10\">欢迎光临!</span>\r\n");
      out.write("</marquee ></td>\r\n");
      out.write("\t<td width=\"371\"></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td colspan=\"7\" bgcolor=\"#5C743D\"><img src=\"mm_spacer.gif\" alt=\"\" width=\"1\" height=\"2\" border=\"0\" /></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td colspan=\"7\" bgcolor=\"#99CC66\" background=\"mm_dashed_line.gif\"><img src=\"mm_dashed_line.gif\" alt=\"line decor\" width=\"4\" height=\"3\" border=\"0\" /></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("\r\n");
      out.write("  <tr bgcolor=\"#99CC66\">\r\n");
      out.write("  \t<td colspan=\"7\" id=\"dateformat\" height=\"20\">&nbsp;&nbsp;<script language=\"JavaScript\" type=\"text/javascript\">\r\n");
      out.write("      document.write(TODAY);\t</script>\t</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td colspan=\"7\" bgcolor=\"#99CC66\" background=\"mm_dashed_line.gif\"><img src=\"mm_dashed_line.gif\" alt=\"line decor\" width=\"4\" height=\"3\" border=\"0\" /></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td colspan=\"7\" bgcolor=\"#5C743D\"><img src=\"mm_spacer.gif\" alt=\"\" width=\"1\" height=\"2\" border=\"0\" /></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("\r\n");
      out.write(" <tr><td colspan=\"7\" >\r\n");
      out.write("\r\n");
      out.write("<form name=\"form2\" method=\"post\" action=\"/NetService/loginservlet\"><!---->\r\n");
      out.write("  <table width=\"376\" height=\"213\" border=\"0\" align=\"center\">\r\n");
      out.write("  \r\n");
      out.write("    <tr>\r\n");
      out.write("      <td width=\"435\" height=\"49\" ><div align=\"right\"><span class=\"STYLE4\"><span class=\"STYLE5\">用户名:</span></span></div></td>\r\n");
      out.write("      <td width=\"576\"><label>\r\n");
      out.write("        <input name=\"username\" type=\"text\" class=\"rollovercolor\" id=\"username\">\r\n");
      out.write("      </label></td>\r\n");
      out.write("    </tr>\r\n");
      out.write("    <tr>\r\n");
      out.write("      <td height=\"37\"><div align=\"right\"><span class=\"STYLE4\"><span class=\"STYLE5\">密 &nbsp; 码:</span></span></div></td>\r\n");
      out.write("      <td><label>\r\n");
      out.write("        <input name=\"password\" type=\"password\" class=\"rollovercolor\" id=\"password\">\r\n");
      out.write("      </label></td>\r\n");
      out.write("    </tr>\r\n");
      out.write("    <tr>\r\n");
      out.write("      <td colspan=\"2\">\r\n");
      out.write("\t  <table width=\"515\" height=\"80\" border=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td height=\"38\" colspan=\"3\"><div align=\"center\">\r\n");
      out.write("            <select name=\"type\" size=\"1\" id=\"type\">\r\n");
      out.write("              <option value=\"0\">前台人员</option>\r\n");
      out.write("              <option value=\"1\">管理人员</option>\r\n");
      out.write("              <option value=\"2\">施工人员</option>\r\n");
      out.write("                      </select>\r\n");
      out.write("          </div></td>\r\n");
      out.write("          </tr>\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td width=\"191\" height=\"29\">\r\n");
      out.write("\r\n");
      out.write("                <div align=\"right\">\r\n");
      out.write("                 <input name=\"Submit\" type=\"submit\" class=\"tabletitlePO\" onclick=\"return openIndex()\"  value=\"登陆\"  />\r\n");
      out.write("                  </div></td>\r\n");
      out.write("          <td width=\"64\"></td>\r\n");
      out.write("          <td width=\"246\"><label>\r\n");
      out.write("            <input name=\"Submit2\" type=\"reset\" class=\"tabletitlePO\" onClick=\"openWork()\" value=\"取消\">\r\n");
      out.write("          </label></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table></td>\r\n");
      out.write("    </tr>\r\n");
      out.write("  </table>\r\n");
      out.write("  <p></p>\r\n");
      out.write("  <p>&nbsp;</p>\r\n");
      out.write("</form>\r\n");
      out.write("\t</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td colspan=\"6\">&nbsp;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
      out.write("<body>\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 + -