在线考试系统源码


使用SSH框架写的一个在线考试系统,功能已基本完善,使用MySQL数据库,使用时将源码导入到eclipse,在MySQL中导入SQL文件,数据库默认密码为root,可以在otssrcapplicationContex.xml文件中进行配置。
资源截图
代码片段和文件信息
/**
 * 
 */
package com.ots.action;

import com.opensymphony.xwork2.ActionSupport;
import com.ots.assist.Result;
import com.ots.orm.Admin;
import com.ots.service.AdminService;

/**
 * @author lljin
 *
 */
public class AccountCheckAction extends ActionSupport {

/**
 * 
 */
private static final long serialVersionUID = 3556956282282308056L;

private Admin admin;
private AdminService adminService;
private Result result;

public String execute() {
result = new Result();
if(adminService.checkAccount(admin.getAccount())){
result.setState(1);
}else {
result.setState(0);
}
return SUCCESS;
}

public Admin getAdmin() {
return admin;
}

public AdminService getAdminService() {
return adminService;
}

public void setAdmin(Admin admin) {
this.admin = admin;
}

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

public Result getResult() {
return result;
}

public void setResult(Result result) {
this.result = result;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        841  2016-05-02 16:34  在线考试系统源码ots.classpath

     文件       1036  2016-05-02 16:34  在线考试系统源码ots.project

     文件        567  2016-05-02 16:34  在线考试系统源码ots.settings.jsdtscope

     文件        364  2016-05-02 16:34  在线考试系统源码ots.settingsorg.eclipse.jdt.core.prefs

     文件        461  2016-05-02 16:34  在线考试系统源码ots.settingsorg.eclipse.wst.common.component

     文件        345  2016-05-02 16:34  在线考试系统源码ots.settingsorg.eclipse.wst.common.project.facet.core.xml

     文件         49  2016-05-02 16:34  在线考试系统源码ots.settingsorg.eclipse.wst.jsdt.ui.superType.container

     文件          6  2016-05-02 16:34  在线考试系统源码ots.settingsorg.eclipse.wst.jsdt.ui.superType.name

     文件       2909  2016-04-26 17:42  在线考试系统源码otsuildclassesapplicationContext.xml

     文件       1620  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionAccountCheckAction.class

     文件       1447  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionAdminAddAction.class

     文件       1510  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionAdminLoginAction.class

     文件       3334  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionAdminSearchAction.class

     文件       1459  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionAdminUpdateAction.class

     文件        954  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionAjaxAuthorityErrorAction.class

     文件       1254  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionAttendExamAction.class

     文件       4219  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionCorrectSheetAction.class

     文件       1762  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionCourseAddAction.class

     文件       2480  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionCourseListAction.class

     文件       1514  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionCourseTotalListAction.class

     文件       1477  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionCourseUpdateAction.class

     文件       1030  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionLogout.class

     文件       2513  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionPaperAddAction.class

     文件       2449  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionPaperCorrectListAction.class

     文件       1252  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionPaperDetailAction.class

     文件       3292  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionPaperListAction.class

     文件       1465  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionPaperUpdateAction.class

     文件       2159  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionQueryGradeAction.class

     文件       2268  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionQueryResultAction.class

     文件       1512  2016-06-06 09:44  在线考试系统源码otsuildclassescomotsactionQuestionAddAction.class

............此处省略636个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)