资源简介

非常完整的一个jsp在线考试系统,可以作为学习参考之用。

资源截图

代码片段和文件信息

package com.action;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.service.StudentServiceImpl;

public class CheckStudentID extends ActionSupport{
/**
 * 
 */
private static final long serialVersionUID = 1L;
private String studentID;
private StudentServiceImpl studentServiceImpl = new StudentServiceImpl();
public String getStudentID() {
return studentID;
}

public void setStudentID(String studentID) {
this.studentID = studentID;
}

@Override
public String execute() throws Exception {
HttpServletResponse response = (HttpServletResponse) ActionContext.getContext().get(ServletActionContext.HTTP_

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-12-20 09:19  examOnline\
     文件        3231  2015-12-20 09:19  examOnline\.classpath
     文件          50  2015-12-20 09:19  examOnline\.gitignore
     文件         531  2015-12-20 09:19  examOnline\.myhibernatedata
     文件        1558  2015-12-20 09:19  examOnline\.project
     文件         122  2015-12-20 09:19  examOnline\.reverse.properties
     目录           0  2015-12-20 09:19  examOnline\.settings\
     文件         510  2015-12-20 09:19  examOnline\.settings\.jsdtscope
     文件          85  2015-12-20 09:19  examOnline\.settings\org.eclipse.core.resources.prefs
     文件         357  2015-12-20 09:19  examOnline\.settings\org.eclipse.jdt.core.prefs
     文件         481  2015-12-20 09:19  examOnline\.settings\org.eclipse.wst.common.component
     文件         387  2015-12-20 09:19  examOnline\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2015-12-20 09:19  examOnline\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2015-12-20 09:19  examOnline\.settings\org.eclipse.wst.jsdt.ui.superType.name
     文件          66  2015-12-20 09:19  examOnline\.tern-project
     文件         575  2015-12-20 09:19  examOnline\Readme.md
     目录           0  2015-12-20 09:19  examOnline\WebRoot\
     目录           0  2015-12-20 09:19  examOnline\WebRoot\meta-INF\
     文件          36  2015-12-20 09:19  examOnline\WebRoot\meta-INF\MANIFEST.MF
     文件         828  2015-12-20 09:19  examOnline\WebRoot\MyJsp.jsp
     目录           0  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\
     文件          10  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\.gitignore
     目录           0  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\
     文件      443432  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\antlr-2.7.6.jar
     文件       43578  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\asm-3.3.jar
     文件       16777  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\asm-attrs.jar
     文件       38275  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\asm-commons-3.3.jar
     文件       21503  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\asm-tree-3.3.jar
     文件       26360  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\asm.jar
     文件      282338  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\cglib-2.1.3.jar
     文件      175426  2015-12-20 09:19  examOnline\WebRoot\WEB-INF\lib\commons-collections-2.1.1.jar
............此处省略1397个文件信息

评论

共有 条评论