资源简介

一个简单的SSH的增删改查程序,数据库用mySQL

资源截图

代码片段和文件信息

package com.coname.projname.student.action;

import java.util.List;

import com.coname.projname.student.dao.Stuinfo;
import com.coname.projname.student.service.IStudentService;
import com.opensymphony.xwork2.ActionSupport;

public class StudentAction extends ActionSupport {

private List studentList;
private Stuinfo stuInfo;

private IStudentService studentService;

public String showStudentList(){

studentList = studentService.queryStudentList();
return SUCCESS;
}
public String deleteStudent(){
studentService.deleteStudent(stuInfo);
return showStudentList();

}

public String addStudent(){
studentService.addStudent(stuInfo);
return showStudentList();

}
public String updateStudent(){
studentService.updateStudent(stuInfo);
return showStudentList();

}
public List getStudentList() {
return studentList;
}

public void setStudentList(List studentList) {
this.studentList = studentList;
}

public IStudentService getStudentService() {
return studentService;
}

public void setStudentService(IStudentService studentService) {
this.studentService = studentService;
}

public Stuinfo getStuInfo() {
return stuInfo;
}

public void setStuInfo(Stuinfo stuInfo) {
this.stuInfo = stuInfo;
}


}

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

     文件        500  2011-09-08 14:51  student1增加改查\student1\.settings\.jsdtscope

     文件         88  2011-09-08 14:51  student1增加改查\student1\.settings\org.eclipse.core.resources.prefs

     文件         49  2011-09-08 14:51  student1增加改查\student1\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2011-09-08 14:51  student1增加改查\student1\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       1321  2011-09-13 16:32  student1增加改查\student1\src\com\coname\projname\student\action\StudentAction.java

     文件       1250  2011-09-08 15:01  student1增加改查\student1\src\com\coname\projname\student\dao\AbstractStuinfo.java

     文件       1054  2011-09-08 15:01  student1增加改查\student1\src\com\coname\projname\student\dao\Stuinfo.hbm.xml

     文件        416  2011-09-08 15:01  student1增加改查\student1\src\com\coname\projname\student\dao\Stuinfo.java

     文件       4973  2011-09-13 16:48  student1增加改查\student1\src\com\coname\projname\student\dao\StuinfoDAO.java

     文件        967  2011-09-13 16:32  student1增加改查\student1\src\com\coname\projname\student\service\impl\StudentServiceImpl.java

     文件        307  2011-09-13 16:31  student1增加改查\student1\src\com\coname\projname\student\service\IStudentService.java

     文件        937  2011-09-13 16:33  student1增加改查\student1\src\struts.xml

     文件         36  2011-09-08 14:51  student1增加改查\student1\WebRoot\meta-INF\MANIFEST.MF

     文件       1868  2011-09-13 16:32  student1增加改查\student1\WebRoot\WEB-INF\classes\com\coname\projname\student\action\StudentAction.class

     文件       1696  2011-09-13 14:39  student1增加改查\student1\WebRoot\WEB-INF\classes\com\coname\projname\student\dao\AbstractStuinfo.class

     文件        662  2011-09-13 14:39  student1增加改查\student1\WebRoot\WEB-INF\classes\com\coname\projname\student\dao\Stuinfo.class

     文件       1054  2011-09-08 15:01  student1增加改查\student1\WebRoot\WEB-INF\classes\com\coname\projname\student\dao\Stuinfo.hbm.xml

     文件       6444  2011-09-13 16:48  student1增加改查\student1\WebRoot\WEB-INF\classes\com\coname\projname\student\dao\StuinfoDAO.class

     文件       1376  2011-09-13 16:32  student1增加改查\student1\WebRoot\WEB-INF\classes\com\coname\projname\student\service\impl\StudentServiceImpl.class

     文件        311  2011-09-13 16:31  student1增加改查\student1\WebRoot\WEB-INF\classes\com\coname\projname\student\service\IStudentService.class

     文件        937  2011-09-13 16:33  student1增加改查\student1\WebRoot\WEB-INF\classes\struts.xml

     文件     443432  2011-09-08 14:54  student1增加改查\student1\WebRoot\WEB-INF\lib\antlr-2.7.6.jar

     文件     278682  2011-09-08 14:54  student1增加改查\student1\WebRoot\WEB-INF\lib\cglib-2.2.jar

     文件     617643  2011-09-08 14:54  student1增加改查\student1\WebRoot\WEB-INF\lib\com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar

     文件     326765  2011-09-08 14:54  student1增加改查\student1\WebRoot\WEB-INF\lib\com.springsource.net.sf.cglib-2.2.0.jar

     文件       4615  2011-09-08 14:54  student1增加改查\student1\WebRoot\WEB-INF\lib\com.springsource.org.aopalliance-1.0.0.jar

     文件      54080  2011-09-08 14:52  student1增加改查\student1\WebRoot\WEB-INF\lib\com.springsource.org.apache.commons.fileupload-1.2.0.jar

     文件     307965  2011-09-08 14:52  student1增加改查\student1\WebRoot\WEB-INF\lib\com.springsource.org.apache.commons.httpclient-3.1.0.jar

     文件     263867  2011-09-08 14:54  student1增加改查\student1\WebRoot\WEB-INF\lib\com.springsource.org.apache.commons.lang-2.4.0.jar

     文件      61464  2011-09-08 14:54  student1增加改查\student1\WebRoot\WEB-INF\lib\com.springsource.org.apache.commons.logging-1.1.1.jar

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

评论

共有 条评论