资源简介

在线考试系统的实现,里面有代码,数据库还有论文

代码片段和文件信息

package com.wgh.action;

import java.util.List;

import javax.servlet.http.*;

import org.apache.struts.action.*;
import com.wgh.actionForm.LessonForm;
import com.wgh.dao.LessonDAO;

public class Lesson extends Action {
private LessonDAO lessonDAO = null;

public Lesson() {
this.lessonDAO = new LessonDAO();
}
public ActionForward execute(ActionMapping mapping ActionForm form
HttpServletRequest request HttpServletResponse response) {
String action = request.getParameter(“action“);
System.out.println(“获取的查询字符串:“ + action);
if (action == null || ““.equals(action)) {
return mapping.findForward(“error“);
} else if (“lessonQuery“.equals(action)) {
return lessonQuery(mapping form request response);

} else if (“lessonAdd“.equals(action)) {

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        5726  2015-12-16 11:07  db_exam.sql
     目录           0  2015-12-16 17:43  Exam\
     文件         586  2015-12-16 17:14  Exam\.classpath
     文件        1037  2013-08-02 10:02  Exam\.project
     目录           0  2015-12-16 17:43  Exam\.settings\
     文件         503  2013-08-02 10:02  Exam\.settings\.jsdtscope
     文件          76  2015-12-15 16:17  Exam\.settings\com.genuitec.eclipse.migration.prefs
     文件         395  2013-08-02 10:02  Exam\.settings\org.eclipse.jdt.core.prefs
     文件         442  2013-08-02 10:02  Exam\.settings\org.eclipse.wst.common.component
     文件         305  2015-12-16 17:04  Exam\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2013-08-02 10:02  Exam\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2013-08-02 10:02  Exam\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2015-12-16 17:43  Exam\build\
     目录           0  2015-12-16 17:43  Exam\build\classes\
     目录           0  2015-12-16 17:43  Exam\build\classes\com\
     文件         112  2015-12-15 16:19  Exam\build\classes\com\connDB.properties
     目录           0  2015-12-16 17:43  Exam\build\classes\com\wgh\
     目录           0  2015-12-16 17:43  Exam\build\classes\com\wgh\action\
     目录           0  2015-12-16 17:43  Exam\build\classes\com\wgh\actionForm\
     文件        1320  2015-12-16 17:14  Exam\build\classes\com\wgh\actionForm\LessonForm.class
     文件        1125  2015-12-16 17:14  Exam\build\classes\com\wgh\actionForm\ManagerForm.class
     文件         599  2015-12-16 17:14  Exam\build\classes\com\wgh\actionForm\MoreSelect.class
     文件         771  2015-12-16 17:14  Exam\build\classes\com\wgh\actionForm\QueryResultIfForm.class
     文件        4814  2015-12-16 17:14  Exam\build\classes\com\wgh\actionForm\QuestionsForm.class
     文件        2622  2015-12-16 17:14  Exam\build\classes\com\wgh\actionForm\StudentForm.class
     文件        1808  2015-12-16 17:14  Exam\build\classes\com\wgh\actionForm\StuResultForm.class
     文件        1720  2015-12-16 17:14  Exam\build\classes\com\wgh\actionForm\TaoTiForm.class
     文件        3975  2015-12-16 17:14  Exam\build\classes\com\wgh\action\Lesson.class
     文件        4326  2015-12-16 17:14  Exam\build\classes\com\wgh\action\Manager.class
     文件        4145  2015-12-16 17:14  Exam\build\classes\com\wgh\action\Questions.class
     文件         935  2015-12-16 17:14  Exam\build\classes\com\wgh\action\SelfRequestProcessor.class
............此处省略171个文件信息

评论

共有 条评论