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

📄 login_jsp.java

📁 用java写的一个简单的在线考试系统
💻 JAVA
字号:
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 {

  private static java.util.List _jspx_dependants;

  public Object 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,
      			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');
      out.write('\n');
      out.write('\n');
      out.write("\n");
      out.write("\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n");
      out.write("   \"http://www.w3.org/TR/html4/loose.dtd\">\n");
      out.write("\n");
      out.write("<html>\n");
      out.write("<head>\n");
      out.write("\n");
      out.write("<title>denglu</title>\n");
      out.write("<style type=\"text/css\">\n");
      out.write("<!--\n");
      out.write(".STYLE5 {\n");
      out.write("\tfont-size: x-large;\n");
      out.write("\tfont-family: Arial, Helvetica, sans-serif;\n");
      out.write("\tfont-weight: bold;\n");
      out.write("\tfont-style: italic;\n");
      out.write("\tcolor: #0000FF;\n");
      out.write("}\n");
      out.write(".STYLE7 {\n");
      out.write("\tfont-family: \"Courier New\", Courier, monospace;\n");
      out.write("\tfont-weight: bold;\n");
      out.write("\tfont-size: x-large;\n");
      out.write("\tfont-style: italic;\n");
      out.write("\tcolor: #FF0000;\n");
      out.write("}\n");
      out.write(".STYLE8 {\n");
      out.write("\tfont-family: Georgia, \"Times New Roman\", Times, serif;\n");
      out.write("\tfont-size: x-large;\n");
      out.write("\tfont-style: italic;\n");
      out.write("\tcolor: #FF0099;\n");
      out.write("}\n");
      out.write(".STYLE9 {\n");
      out.write("\tfont-family: Arial, Helvetica, sans-serif;\n");
      out.write("\tfont-size: large;\n");
      out.write("\tfont-weight: bold;\n");
      out.write("\tcolor: #00FF33;\n");
      out.write("}\n");
      out.write(".STYLE10 {\n");
      out.write("\tfont-family: Georgia, \"Times New Roman\", Times, serif;\n");
      out.write("\tcolor: #0000FF;\n");
      out.write("}\n");
      out.write(".STYLE11 {\n");
      out.write("\tfont-family: \"Times New Roman\", Times, serif;\n");
      out.write("\tcolor: #0000FF;\n");
      out.write("}\n");
      out.write("body,td,th {\n");
      out.write("\tcolor: #0099FF;\n");
      out.write("}\n");
      out.write("body {\n");
      out.write("\tbackground-color: #99FF00;\n");
      out.write("}\n");
      out.write(".STYLE13 {font: bold large Arial, Helvetica, sans-serif;}\n");
      out.write(".STYLE15 {font-family: Arial, Helvetica, sans-serif; font-size: large; font-weight: bold; color: #FF0000; }\n");
      out.write("-->\n");
      out.write("</style>\n");
      out.write("</head>\n");
      out.write("\n");
      out.write("<body>\n");
      out.write("<p>&nbsp;</p>\n");
      out.write("<p>&nbsp;</p>\n");
      out.write("<p>&nbsp;</p>\n");
      out.write("<div align=\"center\"><span class=\"STYLE5\">请登陆</span><span class=\"STYLE7\">java</span><span class=\"STYLE8\">考试系统</span>――<span class=\"STYLE15\">管理子</span></div>\n");
      out.write("<span class=\"STYLE9\"> </span><span class=\"STYLE13\">\n");
      out.write("<div align=\"center\">系统</div>\n");
      out.write("</span>\n");
      out.write("<form id=\"form1\" name=\"form1\" method=\"post\" action=\"DealLoginTeacher.jsp\">\n");
      out.write("   <p align=\"center\">\n");
      out.write("  <span class=\"STYLE10\">姓名:</span>\n");
      out.write("  <input type=\"text\" name=\"uname\" />\n");
      out.write("  </p>\n");
      out.write(" <p align=\"center\">\n");
      out.write("  <span class=\"STYLE11\">密码:</span>\n");
      out.write("  <input type=\"password\" name=\"umima\" />\n");
      out.write("  </p>\n");
      out.write("  <p align=\"center\">\n");
      out.write("    <input type=\"submit\" name=\"Submit\" value=\"登陆\" />\n");
      out.write("\t&nbsp;\n");
      out.write("\t<input type=\"submit\" name=\"Submit\" value=\"退出系统\" />\n");
      out.write("  </p>\n");
      out.write("</form>\n");
      out.write("<p>&nbsp;</p>\n");
      out.write("</body>\n");
      out.write("</html>\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 + -