• 大小: 280KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-06
  • 语言: Java
  • 标签: 学生选课  

资源简介

基于java2ee的学生选课系统,添加删除课程

资源截图

代码片段和文件信息

package org.action;
import java.util.List;
import java.util.Map;
import org.dao.KcDao;
import org.dao.imp.KcDaoImp;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
public class KcAction extends ActionSupport{
public String execute()throws Exception{
KcDao kcDao=new KcDaoImp();
List list=kcDao.getAll();
Map request=(Map)ActionContext.getContext().get(“request“);
request.put(“list“ list);
return SUCCESS;
}
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-07-01 11:12  Struts_Hibernate\
     文件        1573  2015-07-01 11:25  Struts_Hibernate\.classpath
     目录           0  2015-06-25 16:52  Struts_Hibernate\.myeclipse\
     文件         492  2009-05-19 09:33  Struts_Hibernate\.myhibernatedata
     文件         321  2015-06-18 16:49  Struts_Hibernate\.mymetadata
     文件        1961  2015-06-18 09:22  Struts_Hibernate\.project
     目录           0  2015-07-01 11:12  Struts_Hibernate\.settings\
     文件         500  2015-06-18 09:22  Struts_Hibernate\.settings\.jsdtscope
     文件         303  2015-06-18 09:22  Struts_Hibernate\.settings\org.eclipse.jdt.core.prefs
     文件         486  2015-06-18 09:22  Struts_Hibernate\.settings\org.eclipse.wst.common.component
     文件         252  2015-06-18 09:22  Struts_Hibernate\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2015-06-18 09:22  Struts_Hibernate\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2015-06-18 09:22  Struts_Hibernate\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2015-07-01 11:12  Struts_Hibernate\src\
     文件        1045  2015-07-01 11:42  Struts_Hibernate\src\hibernate.cfg.xml
     目录           0  2015-07-01 11:12  Struts_Hibernate\src\org\
     目录           0  2015-07-01 11:12  Struts_Hibernate\src\org\action\
     文件         485  2009-05-19 09:58  Struts_Hibernate\src\org\action\KcAction.java
     文件         811  2009-05-19 09:46  Struts_Hibernate\src\org\action\LoginAction.java
     文件        5739  2009-05-20 14:12  Struts_Hibernate\src\org\action\XsAction.java
     目录           0  2015-07-01 11:12  Struts_Hibernate\src\org\dao\
     文件         139  2009-05-19 09:35  Struts_Hibernate\src\org\dao\DlDao.java
     目录           0  2015-07-01 11:12  Struts_Hibernate\src\org\dao\imp\
     文件         723  2009-05-19 09:37  Struts_Hibernate\src\org\dao\imp\DlDaoImp.java
     文件        1000  2009-05-19 11:53  Struts_Hibernate\src\org\dao\imp\KcDaoImp.java
     文件         979  2009-05-19 09:38  Struts_Hibernate\src\org\dao\imp\XsDaoImp.java
     文件        1074  2009-05-19 11:50  Struts_Hibernate\src\org\dao\imp\ZyDaoImp.java
     文件         153  2009-05-19 09:39  Struts_Hibernate\src\org\dao\KcDao.java
     文件         200  2009-05-19 09:37  Struts_Hibernate\src\org\dao\XsDao.java
     文件         205  2009-05-19 11:49  Struts_Hibernate\src\org\dao\ZyDao.java
     目录           0  2015-07-01 11:12  Struts_Hibernate\src\org\model\
............此处省略65个文件信息

评论

共有 条评论