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

📄 main_jsp.java

📁 自己做的一份在线考试系统
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class main_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(1);
    _jspx_dependants.add("/logo.jsp");
  }

  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,
      			"errorpage.jsp", 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("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<title>登录</title>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"><style type=\"text/css\">\r\n");
      out.write("body {\r\n");
      out.write("\tbackground-color: #FFCCFF;\r\n");
      out.write("}\r\n");
      out.write(".STYLE1 {\r\n");
      out.write("\tcolor: #0000FF;\r\n");
      out.write("\tfont-size: large;\r\n");
      out.write("}\r\n");
      out.write(".STYLE2 {\r\n");
      out.write("\tfont-size: xx-large;\r\n");
      out.write("\tcolor: #00FF00;\r\n");
      out.write("\tfont-weight: bold;\r\n");
      out.write("}\r\n");
      out.write(".STYLE5 {color: #0000FF}\r\n");
      out.write(".STYLE6 {font-size: larger}\r\n");
      out.write(".STYLE3 {color: #0000FF; font-size: xx-large; }\r\n");
      out.write(".STYLE4 {font-size: xx-large}\r\n");
      out.write("#Layer1 {\tposition:absolute;\r\n");
      out.write("\twidth:315px;\r\n");
      out.write("\theight:115px;\r\n");
      out.write("\tz-index:1;\r\n");
      out.write("\tleft: 435px;\r\n");
      out.write("\ttop: 59px;\r\n");
      out.write("}\r\n");
      out.write("</style></head>\r\n");
      out.write("<body>\r\n");
      out.write(" ");
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("<!--\r\n");
      out.write(".STYLE6 {color: #FF00FF}\r\n");
      out.write(".STYLE8 {color: #FFFF00; font-weight: bold; font-size: 33px; }\r\n");
      out.write(".STYLE10 {color: #0000FF; font-weight: bold; font-size: 33px; }\r\n");
      out.write("-->\r\n");
      out.write("</style>\r\n");
      out.write("<body>\r\n");
      out.write("<marquee>\r\n");
      out.write("    <span class=\"STYLE10\">认真做好每个题</span><img src=\"images/9B9D1B55F430A9C334AD4873BA6A8391.gif\" width=\"32\" height=\"32\"><span class=\"STYLE10\">你就是胜利的\r\n");
      out.write("    </span>\r\n");
      out.write("</marquee>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
      out.write("\r\n");
      out.write("<div id=\"Layer1\">\r\n");
      out.write("  <p align=\"left\"><span class=\"STYLE5\"><span class=\"STYLE6\"><span class=\"STYLE4\"><a href=\"teacher-login.jsp\" target=\"mainFrame\">教师登录</a></span></span></span></p>\r\n");
      out.write("  <p align=\"left\"><span class=\"STYLE3\"><a href=\"student-login.jsp\" target=\"mainFrame\">考生登录 </a></span></p>\r\n");
      out.write("</div>\r\n");
      out.write("<p align=\"center\" class=\"STYLE2\">&nbsp;</p>\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 + -