• 大小: 78.37M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2022-01-31
  • 语言: 其他
  • 标签: 其他  

资源简介

HomeworkWeb-master.zip

资源截图

代码片段和文件信息

package me.hupeng.homeworkweb.action;

import me.hupeng.homeworkweb.service.ChoiceclassService;

import com.opensymphony.xwork2.ActionSupport;

public class AddChoiceClassAction extends ActionSupport{
private String classId;
private ChoiceclassService choiceclassService;
public String getClassId() {
return classId;
}

public void setClassId(String classId) {
this.classId = classId;
}

public ChoiceclassService getChoiceclassService() {
return choiceclassService;
}

public void setChoiceclassService(ChoiceclassService choiceclassService) {
this.choiceclassService = choiceclassService;
}

@Override
public String execute() throws Exception {
// TODO Auto-generated method stub
SecurityAction securityAction = new SecurityAction();
if (!securityAction.checkUser()) {
return LOGIN;
}
Integer classIdInteger;
try {
classIdInteger = Integer.parseInt(classId);
} catch (Exception e) {
// TODO: handle exception
return SUCCESS;
}
choiceclassService.add(classIdInteger securityAction.getUserId());
return SUCCESS;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-03-19 07:59  HomeworkWeb-master\
     目录           0  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\
     文件        7634  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.classpath
     文件         518  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.myhibernatedata
     文件        1336  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.project
     目录           0  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\
     文件         522  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\.jsdtscope
     文件         170  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\com.genuitec.eclipse.core.prefs
     文件         293  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\com.genuitec.runtime.libraries.xml
     文件          76  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\org.eclipse.core.resources.prefs
     文件         598  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\org.eclipse.jdt.core.prefs
     文件         492  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\org.eclipse.wst.common.component
     文件         515  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\
     目录           0  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\meta-INF\
     文件          39  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\meta-INF\MANIFEST.MF
     目录           0  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\
     文件           9  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\.gitignore
     目录           0  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\
     文件       43578  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\asm-3.3.jar
     文件       38275  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\asm-commons-3.3.jar
     文件       21503  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\asm-tree-3.3.jar
     文件     1887781  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\aspectjweaver.jar
     文件      423876  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\c3p0-0.9.2.1.jar
     文件       69002  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\commons-fileupload-1.3.1.jar
     文件      173587  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\commons-io-2.2.jar
     文件      384767  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\commons-lang3-3.2.jar
     文件       62050  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\commons-logging-1.1.3.jar
     文件     1300487  2016-03-19 07:59  HomeworkWeb-master\HomeworkWeb\WebRoot\WEB-INF\lib\freemarker-2.3.22.jar
............此处省略396个文件信息

评论

共有 条评论