• 大小: 7.5MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-23
  • 语言: 其他
  • 标签:

资源简介

基于ssh三大框架的在线考试系统,很好很强大

资源截图

代码片段和文件信息

package org.matrix.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.DynaValidatorForm;
import org.matrix.action.base.baseAction;

public class AddQuestionAction extends baseAction {


public ActionForward execute(ActionMapping mapping ActionForm form
HttpServletRequest request HttpServletResponse response)
throws Exception {
//System.out.println(“saaa“);
DynaValidatorForm addStudentForm = (DynaValidatorForm)form;
String title = (String)addStudentForm.get(“title“);
String examType = (String)addStudentForm.get(“examType“);
String score = (String)addStudentForm.get(“score“);
String level = (String)addStudentForm.get(“level“);
String type = (String)addStudentForm.get(“note“);
String selectOption = (String)addStudentForm.get(“choices“);
String standardAnswer = (String)addStudentForm.get(“standardAnswer“);
examService.addQuestion(title level Integer.parseInt(score) standardAnswer type selectOption Integer.parseInt(examType));
return mapping.findForward(“success“);
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-12-22 11:20  SSH框架-在线考试系统\
     目录           0  2003-12-19 15:38  SSH框架-在线考试系统\在线考试系统\
     目录           0  2003-12-19 15:40  SSH框架-在线考试系统\在线考试系统\SSH_exam\
     文件        2528  2003-12-19 15:17  SSH框架-在线考试系统\在线考试系统\SSH_exam\.classpath
     目录           0  2003-12-19 15:45  SSH框架-在线考试系统\在线考试系统\SSH_exam\.myeclipse\
     文件         565  2003-12-13 16:03  SSH框架-在线考试系统\在线考试系统\SSH_exam\.myhibernatedata
     文件         297  2003-12-19 13:42  SSH框架-在线考试系统\在线考试系统\SSH_exam\.mymetadata
     文件         257  2003-12-13 15:52  SSH框架-在线考试系统\在线考试系统\SSH_exam\.mystrutsdata
     文件        2244  2003-12-18 13:23  SSH框架-在线考试系统\在线考试系统\SSH_exam\.project
     目录           0  2003-12-19 15:45  SSH框架-在线考试系统\在线考试系统\SSH_exam\.settings\
     文件         580  2011-10-30 14:37  SSH框架-在线考试系统\在线考试系统\SSH_exam\.settings\.jsdtscope
     文件         395  2011-10-30 14:37  SSH框架-在线考试系统\在线考试系统\SSH_exam\.settings\org.eclipse.jdt.core.prefs
     文件         462  2011-10-30 14:37  SSH框架-在线考试系统\在线考试系统\SSH_exam\.settings\org.eclipse.wst.common.component
     文件         252  2011-10-30 14:37  SSH框架-在线考试系统\在线考试系统\SSH_exam\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2011-10-30 14:37  SSH框架-在线考试系统\在线考试系统\SSH_exam\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2011-10-30 14:37  SSH框架-在线考试系统\在线考试系统\SSH_exam\.settings\org.eclipse.wst.jsdt.ui.superType.name
     文件         422  2003-12-18 12:53  SSH框架-在线考试系统\在线考试系统\SSH_exam\.springBeans
     文件         392  2003-12-13 16:02  SSH框架-在线考试系统\在线考试系统\SSH_exam\hibernate.reveng.xml
     目录           0  2003-12-19 15:43  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\
     文件         604  2003-12-12 11:14  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\log4j.properties
     目录           0  2003-12-19 15:43  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\
     目录           0  2003-12-19 15:43  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\
     目录           0  2003-12-19 15:44  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\
     文件        1276  2003-12-19 08:57  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\AddQuestionAction.java
     文件        1211  2011-10-30 20:34  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\AddStudentAction.java
     文件         872  2003-12-18 13:46  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\AddTestAction.java
     文件        1031  2003-12-18 09:58  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\AdminLoginAction.java
     目录           0  2003-12-19 15:45  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\authority\
     文件         976  2011-10-30 16:24  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\authority\AuthorityInterceptor.java
     文件        1094  2011-10-30 18:31  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\authority\ExamInterceptor.java
     目录           0  2003-12-19 15:44  SSH框架-在线考试系统\在线考试系统\SSH_exam\src\org\matrix\action\base\
............此处省略241个文件信息

评论

共有 条评论