資源簡(jiǎn)介
本人用來(lái)當(dāng)做課程設(shè)計(jì)使用,修改后也可做畢設(shè)項(xiàng)目,根據(jù)自身的需求自行下載。僅供參考學(xué)習(xí)
代碼片段和文件信息
package?com.course.action;
import?com.course.pojo.Course;
import?com.course.service.IAdminService;
import?com.opensymphony.xwork2.ActionSupport;
public?class?AddCourseAction?extends?ActionSupport?{
????
IAdminService?adminService;
public?IAdminService?getAdminService()?{
return?adminService;
}
public?void?setAdminService(IAdminService?adminService)?{
this.adminService?=?adminService;
}
private?String?name;
private?String?info;
private?int?period;
public?String?getName()?{
return?name;
}
public?void?setName(String?name)?{
this.name?=?name;
}
public?String?getInfo()?{
return?info;
}
public?void?setInfo(String?info)?{
this.info?=?info;
}
public?int?getPeriod()?{
return?period;
}
public?void?setPeriod(int?period)?{
this.period?=?period;
}
@Override
public?String?execute()?throws?Exception?{
Course?course=new?Course();
course.setName(name);
course.setInfo(info);
course.setPeriod(period);
adminService.addCourse(course);
return?SUCCESS;
}
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????6040??2013-03-12?21:33??楊浩-1511311141\CourseSel\.classpath
?????文件????????537??2013-03-12?19:53??楊浩-1511311141\CourseSel\.myhibernatedata
?????文件????????300??2016-01-13?18:43??楊浩-1511311141\CourseSel\.myme
?????文件????????240??2013-03-12?19:41??楊浩-1511311141\CourseSel\.mystrutsdata
?????文件???????1908??2013-03-12?20:23??楊浩-1511311141\CourseSel\.project
?????文件????????500??2013-03-12?19:41??楊浩-1511311141\CourseSel\.settings\.jsdtscope
?????文件????????330??2013-03-12?19:41??楊浩-1511311141\CourseSel\.settings\org.eclipse.jdt.core.prefs
?????文件?????????49??2013-03-12?19:41??楊浩-1511311141\CourseSel\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2013-03-12?19:41??楊浩-1511311141\CourseSel\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件????????217??2013-03-12?19:42??楊浩-1511311141\CourseSel\.settings\org.springfr
?????文件????????415??2013-03-12?20:49??楊浩-1511311141\CourseSel\.springBeans
?????文件???????1062??2013-03-13?00:23??楊浩-1511311141\CourseSel\src\com\course\action\AddCourseAction.java
?????文件???????1156??2013-03-12?22:56??楊浩-1511311141\CourseSel\src\com\course\action\AdminLoginAction.java
?????文件????????800??2013-03-13?00:30??楊浩-1511311141\CourseSel\src\com\course\action\DelCourseAction.java
?????文件???????1077??2013-03-13?08:40??楊浩-1511311141\CourseSel\src\com\course\action\DelSelCourse.java
?????文件????????773??2013-03-12?23:25??楊浩-1511311141\CourseSel\src\com\course\action\ListInfoAction.java
?????文件????????889??2013-03-13?08:07??楊浩-1511311141\CourseSel\src\com\course\action\listStuInfoAction.java
?????文件????????980??2013-03-12?21:54??楊浩-1511311141\CourseSel\src\com\course\action\SaveStuAction.java
?????文件???????1230??2013-03-13?09:30??楊浩-1511311141\CourseSel\src\com\course\action\SelCourseAction.java
?????文件????????819??2013-03-13?00:49??楊浩-1511311141\CourseSel\src\com\course\action\ShowCourseAction.java
?????文件????????762??2013-03-13?09:04??楊浩-1511311141\CourseSel\src\com\course\action\ShowCourseStu.java
?????文件????????856??2013-03-13?07:44??楊浩-1511311141\CourseSel\src\com\course\action\ShowStuCourse.java
?????文件???????1139??2013-03-13?08:06??楊浩-1511311141\CourseSel\src\com\course\action\StuLoginAction.java
?????文件???????1301??2013-03-13?00:37??楊浩-1511311141\CourseSel\src\com\course\action\UpdateCourseAction.java
?????文件???????2023??2013-03-13?07:44??楊浩-1511311141\CourseSel\src\com\course\dao\AdminDaoImpl.java
?????文件????????546??2013-03-13?01:12??楊浩-1511311141\CourseSel\src\com\course\dao\IAdminDao.java
?????文件????????348??2013-03-13?08:31??楊浩-1511311141\CourseSel\src\com\course\dao\IStuDao.java
?????文件???????1077??2013-03-13?08:33??楊浩-1511311141\CourseSel\src\com\course\dao\StuDaoImpl.java
?????文件???????1193??2013-03-13?06:58??楊浩-1511311141\CourseSel\src\com\course\pojo\Course.hbm.xm
?????文件???????1376??2013-03-12?19:52??楊浩-1511311141\CourseSel\src\com\course\pojo\Course.java
............此處省略159個(gè)文件信息
評(píng)論
共有 條評(píng)論