• 大小: 1.03MB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2022-03-06
  • 语言: Java
  • 标签: java  jsp  B/S  tomcat  myeclipse  

资源简介

面向对象程序设计的大作业,用myeclipse建工程,tomcat的服务器,B/S框架,java和jsp编写代码。实现的功能是老师上传作业相关资源,布置作业,查看和下载学生作业并打分,同时也实现了学生下载老师上传的资料,查看老师布置的作业,上传自己的作业等功能。

资源截图

代码片段和文件信息

package com.zuoyeshangjiaoxitong.connect;

import java.sql.Connection;
import java.sql.DriverManager;

public class connect {

public Connection getConnect(){
try{
Class.forName(“com.mysql.jdbc.Driver“);
String url = “jdbc:mysql://localhost/zuoyeshangjiaoxitong?useUnicode=true&characterEncoding=utf-8“;
String user = “root“;
String password = “bigdata“;
Connection conn = DriverManager.getConnection(url user password);
//System.out.print(conn.getmetaData().getURL());
return conn;
}
catch(Exception e){
e.printStackTrace();
return null;
}
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1176  2015-07-07 10:24  ll.zuoyeshangjiaoxitong\.classpath

     文件       1348  2015-07-02 11:01  ll.zuoyeshangjiaoxitong\.project

     文件        522  2015-07-02 10:40  ll.zuoyeshangjiaoxitong\.settings\.jsdtscope

     文件        275  2015-07-15 14:28  ll.zuoyeshangjiaoxitong\.settings\org.eclipse.core.resources.prefs

     文件        364  2015-07-02 10:40  ll.zuoyeshangjiaoxitong\.settings\org.eclipse.jdt.core.prefs

     文件        528  2015-07-02 10:40  ll.zuoyeshangjiaoxitong\.settings\org.eclipse.wst.common.component

     文件        414  2015-07-02 10:40  ll.zuoyeshangjiaoxitong\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2015-07-02 10:40  ll.zuoyeshangjiaoxitong\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2015-07-02 10:40  ll.zuoyeshangjiaoxitong\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件        610  2015-07-02 14:02  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\connect\connect.java

     文件        814  2015-07-10 13:18  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\model\homeworkTable.java

     文件        266  2015-07-12 21:20  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\model\libsUploadBean.java

     文件        639  2015-07-07 16:29  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\model\noteDownload.java

     文件        465  2015-07-15 15:00  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\model\ReadTXT.java

     文件      14600  2015-07-15 21:25  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\model\t_Servlet.java

     文件       1247  2015-07-10 14:07  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\model\userTable.java

     文件       1524  2015-07-14 17:00  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\model\user_hwTable.java

     文件       2289  2015-07-15 21:43  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\servlet\hwDownload.java

     文件       6144  2015-07-15 21:42  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\servlet\hwUpload.java

     文件       2182  2015-07-14 15:09  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\servlet\libsDownload.java

     文件       4847  2015-07-15 16:36  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\servlet\libsUpload.java

     文件       2337  2015-07-10 13:12  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\servlet\noteUpload.java

     文件       4853  2015-07-15 15:39  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\servlet\userInfo.java

     文件        903  2015-07-11 01:21  ll.zuoyeshangjiaoxitong\src\com\zuoyeshangjiaoxitong\servlet\userservice.java

     文件     122540  2015-07-02 11:11  ll.zuoyeshangjiaoxitong\WebRoot\css\bootstrap.min.css

     文件       1071  2015-07-15 21:36  ll.zuoyeshangjiaoxitong\WebRoot\displayhw.jsp

     文件        942  2015-07-15 21:35  ll.zuoyeshangjiaoxitong\WebRoot\exit.jsp

     文件      22955  2015-07-15 12:50  ll.zuoyeshangjiaoxitong\WebRoot\img\1.png

     文件      26223  2015-07-15 12:50  ll.zuoyeshangjiaoxitong\WebRoot\img\2.png

     文件      91618  2015-07-15 12:50  ll.zuoyeshangjiaoxitong\WebRoot\img\3.jpg

............此处省略90个文件信息

评论

共有 条评论