• 大小: 2.15MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-11
  • 语言: Java
  • 标签: java  jsp  

资源简介

该系统是一个简单实用的教务管理系统,非常适合初学者。开发环境eclipse,tomcat8.0,mysql5.5.采用的技术,jdbc连接数据库javaBean,jsp,servlet等。话不多说直接上图,内涵数据库直接导入即可!

资源截图

代码片段和文件信息

package com.tcd.conn;

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

public class conn {
/**
 * 数据库连接类
 * @return
 */

public Connection getCon(){

try {
Class.forName(“com.mysql.jdbc.Driver“);
String url = “jdbc:mysql://localhost/guanlistudent“;
String user = “root“;
String password = “123456“;
Connection conn = DriverManager.getConnection(url user password);
//System.out.println(conn);
return conn;
} catch (Exception e) {
e.printStackTrace();
return null;
}
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         729  2017-11-24 09:55  TeacgersManagement\.classpath
     文件        1051  2017-11-24 09:49  TeacgersManagement\.project
     目录           0  2017-11-24 10:34  TeacgersManagement\.settings\
     文件         567  2017-11-24 09:49  TeacgersManagement\.settings\.jsdtscope
     文件         364  2017-11-24 09:49  TeacgersManagement\.settings\org.eclipse.jdt.core.prefs
     文件         506  2017-11-24 09:49  TeacgersManagement\.settings\org.eclipse.wst.common.component
     文件         305  2017-11-24 09:49  TeacgersManagement\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2017-11-24 09:49  TeacgersManagement\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2017-11-24 09:49  TeacgersManagement\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2017-11-24 10:34  TeacgersManagement\build\
     目录           0  2017-11-24 10:34  TeacgersManagement\build\classes\
     目录           0  2017-11-24 10:34  TeacgersManagement\build\classes\com\
     目录           0  2017-11-24 10:34  TeacgersManagement\build\classes\com\tcd\
     目录           0  2017-11-24 10:34  TeacgersManagement\build\classes\com\tcd\conn\
     文件         968  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\conn\conn.class
     目录           0  2017-11-24 10:34  TeacgersManagement\build\classes\com\tcd\model\
     文件        2959  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\model\stuInfo.class
     文件         736  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\model\userTable.class
     目录           0  2017-11-24 10:34  TeacgersManagement\build\classes\com\tcd\service\
     文件        3890  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\service\stuInfoService.class
     文件        1666  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\service\userService.class
     目录           0  2017-11-24 10:34  TeacgersManagement\build\classes\com\tcd\servlet\
     文件        2279  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\addUserServlet.class
     文件        2571  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\CheckCodeServlet.class
     文件        1499  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\deleteStuServlet.class
     文件        1346  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\exitServlet.class
     文件        2329  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\inputStuInfoServlet.class
     文件        2154  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\loginServlet.class
     文件        2492  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\modifyOneStuInfoServlet.class
     文件        1750  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\modifyOneStuServlet.class
     文件        1934  2017-11-24 09:57  TeacgersManagement\build\classes\com\tcd\servlet\queryAllStuServlet.class
............此处省略67个文件信息

评论

共有 条评论