资源简介

基于jsp+servle的学生请假管理系统,可以自己修改数据库以及其他参数添加功能

资源截图

代码片段和文件信息

package cn.edu.hbcf.action;

import java.sql.Connection;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

import cn.edu.hbcf.base.baseAction;
import cn.edu.hbcf.dao.AppLeaveDAO;
import cn.edu.hbcf.dao.StudentDAO;
import cn.edu.hbcf.dao.TeacherDAO;

import cn.edu.hbcf.model.applyLeave;
import cn.edu.hbcf.utils.DBUtils;

public class LeaveAction extends baseAction{
AppLeaveDAO appLeaveDAO;
    private  List list;
    private List tlist;
    private List slist;
    private String time1;
private String time2;
private String times;
private String phone;
private String excuse;
private String updTime1;
private String updTime2;
private String updTimes;
private String updExcuse;
public String getUpdTime1() {
return updTime1;
}

public void setUpdTime1(String updTime1) {
this.updTime1 = updTime1;
}

public String getUpdTime2() {
return updTime2;
}

public void setUpdTime2(String updTime2) {
this.updTime2 = updTime2;
}

public String getUpdTimes() {
return updTimes;
}

public void setUpdTimes(String updTimes) {
this.updTimes = updTimes;
}

public String getUpdExcuse() {
return updExcuse;
}

public void setUpdExcuse(String updExcuse) {
this.updExcuse = updExcuse;
}

public List getSlist() {
return slist;
}

public void setSlist(List slist) {
this.slist = slist;
}

public List getTlist() {
return tlist;
}

public void setTlist(List tlist) {
this.tlist = tlist;
}
private HttpSession session;
    private HttpServletRequest request;  
private String userId;
  private String username;
  private String cname;
  public String getCname() {
return cname;
}

public void setCname(String cname) {
this.cname = cname;
}

public String getUserId() {
return userId;
}

public void setUserId(String userId) {
this.userId = userId;
}
    
public String getUsername() {
return username;
}

public void setUsername(String username) {
this.username = username;
}
  public String getTime1() {
return time1;
}

public void setTime1(String time1) {
this.time1 = time1;
}

public String getTime2() {
return time2;
}

public void setTime2(String time2) {
this.time2 = time2;
}
public String getTimes() {
return times;
}

public void setTimes(String times) {
this.times = times;
}

public String getPhone() {
return phone;
}

public void setPhone(String phone) {
this.phone = phone;
}

public String getExcuse() {
return excuse;
}

public void setExcuse(String excuse) {
this.excuse = excuse;
}
public List getList() {
return list;
}

public void setList(List list) {
this.list = list;
}
//*****

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

     文件       1276  2012-05-22 22:19  请假\leave\.classpath

     文件        289  2012-05-22 23:56  请假\leave\.mymetadata

     文件       1411  2012-05-22 22:19  请假\leave\.project

     文件        406  2012-05-22 22:19  请假\leave\.settings\.jsdtscope

     文件       1040  2012-05-22 22:19  请假\leave\.settings\com.genuitec.eclipse.j2eedt.core.prefs

     文件         49  2012-05-22 22:19  请假\leave\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2012-05-22 22:19  请假\leave\.settings\org.eclipse.wst.jsdt.ui.superType.name

    ..A..H.         8  2012-05-22 22:19  请假\leave\Desktop__.ini

    ..A..H.         8  2012-05-22 22:19  请假\leave\src\cn\Desktop__.ini

    ..A..H.         8  2012-05-22 22:19  请假\leave\src\cn\edu\Desktop__.ini

    ..A..H.         8  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\action\Desktop__.ini

     文件       8625  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\action\LeaveAction.java

     文件       1680  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\action\LoginAction.java

     文件        631  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\action\StatusAction.java

     文件       1648  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\action\TeacherAction.java

     文件        719  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\base\baseAction.java

     文件       1206  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\base\baseDAO.java

    ..A..H.         8  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\base\Desktop__.ini

     文件        156  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\config\db.properties

    ..A..H.         8  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\config\Desktop__.ini

     文件      14858  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\dao\AppLeaveDAO.java

    ..A..H.         8  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\dao\Desktop__.ini

     文件       2085  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\dao\StudentDAO.java

     文件       2656  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\dao\TeacherDAO.java

    ..A..H.         8  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\Desktop__.ini

     文件       1642  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\model\applyLeave.java

    ..A..H.         8  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\model\Desktop__.ini

     文件        770  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\model\Student.java

     文件        465  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\model\Tclass.java

     文件        944  2012-05-22 22:19  请假\leave\src\cn\edu\hbcf\model\Teacher.java

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

评论

共有 条评论