• 大小: 10.53MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-14
  • 语言: 数据库
  • 标签: j2ee  ssh  

资源简介

我自己写 超简单的 ssh框架(适合该开始看ssh框架的) 环境tomcat7.0 jdk7.0 mysql5.0 Eclipse 里面带.sql文件 保证可以运行

资源截图

代码片段和文件信息

package action;

import service.AdminService;
import bean.Course;
import business.AdminBusiness;

public class AddCourse {
private Course course;
private AdminService adminService;
public Course getCourse() {
return course;
}

public void setCourse(Course course) {
this.course = course;
}

public AdminService getAdminService() {
return adminService;
}

public void setAdminService(AdminService adminService) {
this.adminService = adminService;
}

public String execute() {
try {
//AdminBusiness ab = new AdminBusiness();
adminService.addCourse(course);
return “success“;
} catch (Exception e) {
e.printStackTrace();
return “error“;
}
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-05-21 23:03  StudentManager\
     文件         834  2012-05-21 23:04  StudentManager\.classpath
     文件        1047  2012-05-21 23:04  StudentManager\.project
     目录           0  2012-05-21 23:04  StudentManager\.settings\
     文件         503  2012-05-21 23:04  StudentManager\.settings\.jsdtscope
     文件         395  2012-05-21 23:03  StudentManager\.settings\org.eclipse.jdt.core.prefs
     文件         496  2012-05-21 23:04  StudentManager\.settings\org.eclipse.wst.common.component
     文件         345  2012-05-21 23:04  StudentManager\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2012-05-21 23:04  StudentManager\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2012-05-21 23:04  StudentManager\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2012-05-21 23:03  StudentManager\build\
     目录           0  2012-06-03 12:51  StudentManager\build\classes\
     目录           0  2012-06-03 12:51  StudentManager\build\classes\action\
     文件        1121  2012-06-03 12:51  StudentManager\build\classes\action\AddCourse.class
     文件        1131  2012-06-03 12:51  StudentManager\build\classes\action\AddStudent.class
     文件        1406  2012-06-03 12:51  StudentManager\build\classes\action\AdminGetCourses.class
     文件        1740  2012-06-03 12:51  StudentManager\build\classes\action\AdminLogin.class
     文件        1309  2012-06-03 12:51  StudentManager\build\classes\action\DeleteCourse.class
     文件        1315  2012-06-03 12:51  StudentManager\build\classes\action\DeleteStudent.class
     文件        1391  2012-06-03 12:51  StudentManager\build\classes\action\GetCourses.class
     文件        1386  2012-06-03 12:51  StudentManager\build\classes\action\GetStudents.class
     文件        1444  2012-06-03 12:51  StudentManager\build\classes\action\GetStu_Courses.class
     文件        1588  2012-06-03 12:51  StudentManager\build\classes\action\GiveScore1.class
     文件        1371  2012-06-03 12:51  StudentManager\build\classes\action\GiveScore2.class
     文件        1787  2012-06-03 12:51  StudentManager\build\classes\action\Login.class
     文件        1241  2012-06-03 12:51  StudentManager\build\classes\action\ModifyCourse1.class
     文件        1364  2012-06-03 12:51  StudentManager\build\classes\action\ModifyCourse2.class
     文件        1668  2012-06-03 12:51  StudentManager\build\classes\action\ModifyPass.class
     文件        1250  2012-06-03 12:51  StudentManager\build\classes\action\ModifyStudent1.class
     文件        1377  2012-06-03 12:51  StudentManager\build\classes\action\ModifyStudent2.class
     文件        1226  2012-06-03 12:51  StudentManager\build\classes\action\SelectCourse.class
............此处省略120个文件信息

评论

共有 条评论