资源简介

其中用到MVC,数据库连接池,DBUtil,通用增删改等手段。其中还有模糊查询等!可以称得上非常经典的模板

资源截图

代码片段和文件信息

package com.rick.been;

import java.util.Date;

public class Student {
private int sid; 
private String sname;
private String gender;
private String phone; 
private Date birthday;
private String hobby;
private String info;


public Student() {
super();
// TODO Auto-generated constructor stub
}


public Student(int sid String sname String gender String phone Date birthday String hobby String info) {
super();
this.sid = sid;
this.sname = sname;
this.gender = gender;
this.phone = phone;
this.birthday = birthday;
this.hobby = hobby;
this.info = info;
}


//添加学生增加一个有参构造
public Student(String sname String gender String phone Date birthday String hobby String info) {
super();
this.sname = sname;
this.gender = gender;
this.phone = phone;
this.birthday = birthday;
this.hobby = hobby;
this.info = info;
}

public int getSid() {
return sid;
}
public void setSid(int sid) {
this.sid = sid;
}
public String getSname() {
return sname;
}
public void setSname(String sname) {
this.sname = sname;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public String getHobby() {
return hobby;
}
public void setHobby(String hobby) {
this.hobby = hobby;
}
public String getInfo() {
return info;
}
public void setInfo(String info) {
this.info = info;
}



}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-04-05 07:51  stu\
     目录           0  2019-04-05 17:09  stu\WebContent\
     文件        1965  2019-04-05 18:32  stu\WebContent\edit.jsp
     目录           0  2019-04-05 07:51  stu\WebContent\meta-INF\
     文件          39  2019-04-05 07:51  stu\WebContent\meta-INF\MANIFEST.MF
     文件        1239  2019-04-05 14:58  stu\WebContent\add.jsp
     文件         274  2019-04-05 14:27  stu\WebContent\index.jsp
     目录           0  2019-04-05 07:51  stu\WebContent\WEB-INF\
     目录           0  2019-04-05 10:01  stu\WebContent\WEB-INF\lib\
     文件      414240  2019-04-05 10:01  stu\WebContent\WEB-INF\lib\jstl-1.2.jar
     文件      610790  2019-04-05 08:09  stu\WebContent\WEB-INF\lib\c3p0-0.9.1.2.jar
     文件     2132635  2019-04-05 08:12  stu\WebContent\WEB-INF\lib\mysql-connector-java-8.0.13.jar
     文件       49572  2019-04-05 08:17  stu\WebContent\WEB-INF\lib\commons-dbutils-1.4.jar
     文件        2776  2019-04-05 20:42  stu\WebContent\WEB-INF\web.xml
     文件        1481  2019-04-05 21:23  stu\WebContent\list.jsp
     文件        1155  2019-04-05 10:01  stu\.classpath
     目录           0  2019-04-05 07:51  stu\.settings\
     文件          49  2019-04-05 07:51  stu\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件         357  2019-04-05 07:51  stu\.settings\org.eclipse.jdt.core.prefs
     文件         555  2019-04-05 07:51  stu\.settings\.jsdtscope
     文件         453  2019-04-05 07:51  stu\.settings\org.eclipse.wst.common.component
     文件           6  2019-04-05 07:51  stu\.settings\org.eclipse.wst.jsdt.ui.superType.name
     文件         335  2019-04-05 07:51  stu\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件         872  2019-04-05 07:51  stu\.project
     目录           0  2019-04-05 07:51  stu\build\
     目录           0  2019-04-05 10:01  stu\build\classes\
     文件        1518  2019-04-05 08:33  stu\build\classes\c3p0-config.xml
     目录           0  2019-04-05 10:01  stu\build\classes\com\
     目录           0  2019-04-05 10:01  stu\build\classes\com\rick\
     目录           0  2019-04-05 20:42  stu\build\classes\com\rick\servlet\
     文件        1660  2019-04-05 14:27  stu\build\classes\com\rick\servlet\StudentListServlet.class
............此处省略42个文件信息

评论

共有 条评论