编程语言 Java 实现的在线 OJ 系统

上传者: q322359 | 上传时间: 2024-04-13 13:39:46 | 文件大小: 18.14MB | 文件类型: ZIP
内容概要:基于 Servlet 实现的在线 OJ 系统,包含题目的列表页和题目详情页,类似于leetcode,可以在线编辑代码,提交代码并对用户提交的代码进行编译和运行,返回运行结果或错误信息 适合人群:初学 Java 的 Servlet 框架,想要用一个项目来进行练习巩固 能学到什么:1.可以学习到项目的创建过程 2.可以学习到进程的创建,以及通过创建的进程运行指令 3.可以学习到对文件的输入和输出操作,可以将数据写入到文件中或者从文件中读出数据 4.可以学习到如何通过 JDBC 来操作数据库 5.可以学习到用户提交的代码是如何在后端编译和运行,以及如何向用户返回得到的结果 6.可以学习到如何进行前后端交互

文件下载

资源详情

[{"title":"( 93 个子文件 18.14MB ) 编程语言 Java 实现的在线 OJ 系统","children":[{"title":"servlet_oj","children":[{"title":"pom.xml <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"TestFile.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"TestExec.java <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"Solution.java <span style='color:#111;'> 857B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":null,"spread":false},{"title":"java","children":[{"title":"Utils","children":[{"title":"DBUtil.java <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"FileUtil.java <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"ProcessUtil.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"ProblemMapper.java <span style='color:#111;'> 11.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"CompileServlet.java <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false},{"title":"ProblemServlet.java <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"component","children":[{"title":"Task.java <span style='color:#111;'> 8.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"Question.java <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"Answer.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"Problem.java <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"exception","children":[{"title":"CodeInvalidException.java <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"NotFoundProblemException.java <span style='color:#111;'> 241B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"webapp","children":[{"title":"problemDetail.html <span style='color:#111;'> 6.29KB </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"app.js <span style='color:#111;'> 810B </span>","children":null,"spread":false}],"spread":true},{"title":"img","children":[{"title":"charcoal.jpg <span style='color:#111;'> 348.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"bootstrap.min.css <span style='color:#111;'> 124.46KB </span>","children":null,"spread":false},{"title":"bootstrap.css <span style='color:#111;'> 159.13KB </span>","children":null,"spread":false},{"title":"_variables.scss <span style='color:#111;'> 20.97KB </span>","children":null,"spread":false},{"title":"_custom.scss <span style='color:#111;'> 938B </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"index - 副本.html <span style='color:#111;'> 123.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"db.sql <span style='color:#111;'> 621B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"out","children":[{"title":"artifacts","children":[{"title":"servlet_oj_jar","children":[{"title":"servlet_oj.jar <span style='color:#111;'> 6.02MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"jarRepositories.xml <span style='color:#111;'> 870B </span>","children":null,"spread":false},{"title":"uiDesigner.xml <span style='color:#111;'> 8.71KB </span>","children":null,"spread":false},{"title":"artifacts","children":[{"title":"servlet_oj_jar.xml <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"workspace.xml <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 543B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 456B </span>","children":null,"spread":false}],"spread":true},{"title":"target","children":[{"title":"classes","children":[{"title":"Utils","children":[{"title":"FileUtil.class <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"ProcessUtil.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"DBUtil.class <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"ProblemMapper.class <span style='color:#111;'> 7.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"CompileServlet$CompileResponse.class <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"CompileServlet$CompileRequest.class <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"ProblemServlet.class <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"CompileServlet.class <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"component","children":[{"title":"Task.class <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"Question.class <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"Problem.class <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"Answer.class <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"exception","children":[{"title":"CodeInvalidException.class <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"NotFoundProblemException.class <span style='color:#111;'> 320B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"OJ_Servlet_2024","children":[{"title":"problemDetail.html <span style='color:#111;'> 6.29KB </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"classes","children":[{"title":"Utils","children":[{"title":"FileUtil.class <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"ProcessUtil.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"DBUtil.class <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"ProblemMapper.class <span style='color:#111;'> 7.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"CompileServlet$CompileResponse.class <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"CompileServlet$CompileRequest.class <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"ProblemServlet.class <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"CompileServlet.class <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"component","children":[{"title":"Task.class <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"model","children":[{"title":"Question.class <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"Problem.class <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"Answer.class <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"exception","children":[{"title":"CodeInvalidException.class <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"NotFoundProblemException.class <span style='color:#111;'> 320B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"lib","children":[{"title":"jackson-databind-2.14.2.jar <span style='color:#111;'> 1.54MB </span>","children":null,"spread":false},{"title":"jackson-annotations-2.14.2.jar <span style='color:#111;'> 74.84KB </span>","children":null,"spread":false},{"title":"mysql-connector-j-8.0.32.jar <span style='color:#111;'> 2.37MB </span>","children":null,"spread":false},{"title":"protobuf-java-3.21.9.jar <span style='color:#111;'> 1.59MB </span>","children":null,"spread":false},{"title":"jackson-core-2.14.2.jar <span style='color:#111;'> 448.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"web.xml <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"app.js <span style='color:#111;'> 810B </span>","children":null,"spread":false}],"spread":true},{"title":"img","children":[{"title":"charcoal.jpg <span style='color:#111;'> 348.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"bootstrap.min.css <span style='color:#111;'> 124.46KB </span>","children":null,"spread":false},{"title":"bootstrap.css <span style='color:#111;'> 159.13KB </span>","children":null,"spread":false},{"title":"_variables.scss <span style='color:#111;'> 20.97KB </span>","children":null,"spread":false},{"title":"_custom.scss <span style='color:#111;'> 938B </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"index - 副本.html <span style='color:#111;'> 123.97KB </span>","children":null,"spread":false},{"title":"META-INF","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"TestExec.class <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"TestFile.class <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"maven-status","children":[{"title":"maven-compiler-plugin","children":[{"title":"compile","children":[{"title":"default-compile","children":[{"title":"createdFiles.lst <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"inputFiles.lst <span style='color:#111;'> 698B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"testCompile","children":[{"title":"default-testCompile","children":[{"title":"createdFiles.lst <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"inputFiles.lst <span style='color:#111;'> 141B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"surefire-reports","children":[{"title":"TEST-TestFile.xml <span style='color:#111;'> 6.22KB </span>","children":null,"spread":false},{"title":"TestExec.txt <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"TEST-TestExec.xml <span style='color:#111;'> 6.22KB </span>","children":null,"spread":false},{"title":"TestFile.txt <span style='color:#111;'> 252B </span>","children":null,"spread":false}],"spread":true},{"title":"maven-archiver","children":[{"title":"pom.properties <span style='color:#111;'> 118B </span>","children":null,"spread":false}],"spread":true},{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"OJ_Servlet_2024.war <span style='color:#111;'> 6.03MB </span>","children":null,"spread":false},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"servlet_oj.iml <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 59B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明