• 大小: 1.63MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2022-03-27
  • 语言: Java
  • 标签: javaweb  

资源简介

《学习笔记》:临近期末考试,javaweb应用开发 布置的一项简单的在线考试系统,基于MVC模式(jsp+servlet+javabean)以及mySQL数据库,大家共同进步,谢谢。

资源截图

代码片段和文件信息

package org.apache.jsp;

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

public final class index_jsp extends org.apache.jasper.runtime.HttpJspbase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector;

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

  public void _jspService(HttpServletRequest request HttpServletResponse response)
        throws java.io.IOException ServletException {

    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 {
      response.setContentType(“text/html; charset=utf-8“);
      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;
      _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute(“com.sun.appserv.jsp.resource.injector“);

      out.write(“\n“);
      out.write(“\n“);
      out.write(“\n“);
      out.write(“\n“);
      out.write(“lns=\“http://www.w3.org/1999/xhtml\“>\n“);
      out.write(“\n“);
      out.write(“ta http-equiv=\“Content-Type\“ content=\“text/html; charset=utf-8\“ />\n“);
      out.write(“tle>在线考试系统tle>\n“);
      out.write(“yle type=\“text/css\“>\n“);
      out.write(“.div1{\n“);
      out.write(“\tfont-size: 36px;\n“);
      out.write(“\tfont-weight: bold;\n“);
      out.write(“\tcolor: #F00;\n“);
      out.write(“\tposition: relative;\n“);
      out.write(“        font-family: \“宋体\“;\n“);
      out.write(“}\n“);
      out.write(“.btn{\n“);
      out.write(“\tbackground-color: #b2d235;\n“);
      out.write(“}\n“);
      out.write(“
yle>\n“);
      out.write(“\n“);
      out.write(“\n“);
      out.write(“\n“);
      out.write(“    \n“);
      out.write(“

欢迎使用!

\n“);
      out.write(“\n“);
      out.write(“\n“);
      out.write(“\n“);
      out.write(“
\n“);
      out.write(“\n“);
      out.write(“\

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\
     文件         214  2018-12-26 18:21  javaWeb在线考试系统\OnlineExam\.project
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\
     目录           0  2018-12-26 21:28  javaWeb在线考试系统\OnlineExam\build\empty\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\classes\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\classes\org\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\classes\org\apache\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\classes\org\apache\jsp\
     文件        4561  2018-12-26 19:58  javaWeb在线考试系统\OnlineExam\build\generated\classes\org\apache\jsp\index_jsp.class
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\src\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\src\org\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\src\org\apache\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated\src\org\apache\jsp\
     文件          72  2018-12-26 19:58  javaWeb在线考试系统\OnlineExam\build\generated\src\org\apache\jsp\index_jsp.class.smap
     文件        3456  2018-12-26 19:58  javaWeb在线考试系统\OnlineExam\build\generated\src\org\apache\jsp\index_jsp.java
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\generated-sources\
     目录           0  2018-12-26 21:28  javaWeb在线考试系统\OnlineExam\build\generated-sources\ap-source-output\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\web\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\web\meta-INF\
     文件          25  2018-12-26 19:58  javaWeb在线考试系统\OnlineExam\build\web\meta-INF\MANIFEST.MF
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\classes\
     文件           0  2018-12-26 19:58  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\classes\.netbeans_automatic_build
     文件           0  2018-12-26 19:58  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\classes\.netbeans_update_resources
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\classes\beans\
     文件        1627  2018-12-26 21:18  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\classes\beans\checkDao.class
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\classes\servlets\
     文件        1876  2018-12-26 21:17  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\classes\servlets\checkServlet.class
     目录           0  2018-12-26 21:20  javaWeb在线考试系统\OnlineExam\build\web\WEB-INF\lib\
............此处省略40个文件信息

评论

共有 条评论