资源简介

毕业设计管理系统(毕业设计) 可直接运行。做毕业设计、课程设计或者想研究下技术的可以下载学习。需要更多资源的可以关注我。

资源截图

代码片段和文件信息

package com.find1x.gpms.action;

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

import org.apache.jasper.tagplugins.jstl.core.If;
import org.apache.struts2.ServletActionContext;

import com.find1x.gpms.dao.SysControlDAO;
import com.find1x.gpms.dao.TeacherDAO;
import com.find1x.gpms.pojos.SysControl;
import com.find1x.gpms.pojos.Teacher;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class AdminSysControlAction extends ActionSupport {

ActionContext context = ActionContext.getContext();
HttpServletRequest request = (HttpServletRequest) context
.get(ServletActionContext.HTTP_REQUEST);
HttpServletResponse response = (HttpServletResponse) context
.get(ServletActionContext.HTTP_RESPONSE);
HttpSession session = request.getSession();

private static final long serialVersionUID = 1L;

private String s1;
private String s2;
private String s3;
private String s4;
private String s5;
private String s6;
private String s7;
private String s8;
private String s9;
private String s10;
private String s11;

@Override
public String execute() throws Exception {
SysControl sysControl = SysControlDAO.GetSysControl();
;
sysControl.setS1(“true“.equals(s1));
sysControl.setS2(“true“.equals(s2));
sysControl.setS3(“true“.equals(s3));
sysControl.setS4(“true“.equals(s4));
sysControl.setS5(“true“.equals(s5));
sysControl.setS6(“true“.equals(s6));
sysControl.setS7(“true“.equals(s7));
sysControl.setS8(“true“.equals(s8));
sysControl.setS9(“true“.equals(s9));
sysControl.setS10(“true“.equals(s10));
sysControl.setS11(“true“.equals(s11));
SysControlDAO.saveSysControl(sysControl);
return SUCCESS;
}

/**
 * @return the s1
 */
public String getS1() {
return s1;
}

/**
 * @param s1
 *            the s1 to set
 */
public void setS1(String s1) {
this.s1 = s1;
}

/**
 * @return the s2
 */
public String getS2() {
return s2;
}

/**
 * @param s2
 *            the s2 to set
 */
public void setS2(String s2) {
this.s2 = s2;
}

/**
 * @return the s3
 */
public String getS3() {
return s3;
}

/**
 * @param s3
 *            the s3 to set
 */
public void setS3(String s3) {
this.s3 = s3;
}

/**
 * @return the s4
 */
public String getS4() {
return s4;
}

/**
 * @param s4
 *            the s4 to set
 */
public void setS4(String s4) {
this.s4 = s4;
}

/**
 * @return the s5
 */
public String getS5() {
return s5;
}

/**
 * @param s5
 *            the s5 to set
 */
public void setS5(String s5) {
this.s5 = s5;
}

/**
 * @return the s6
 */
public String getS6() {
return s6;
}

/**
 * @param s6
 *            the s6 to set
 */
public void setS6(String s6) {
this.s6 = s6;
}

/**
 * @return the s7
 */
public String getS7() {
return s7;
}

/**
 * @param s7
 *            the s7 to set
 */
public void setS7(String s7) {
this.s7 = 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-07-12 09:55  GPMS-master\
     文件          91  2014-07-12 09:55  GPMS-master\.gitignore
     文件        1014  2014-07-12 09:55  GPMS-master\.project
     文件       11323  2014-07-12 09:55  GPMS-master\LICENSE
     文件        2139  2014-07-12 09:55  GPMS-master\README.md
     目录           0  2014-07-12 09:55  GPMS-master\WebContent\
     目录           0  2014-07-12 09:55  GPMS-master\WebContent\meta-INF\
     文件          36  2014-07-12 09:55  GPMS-master\WebContent\meta-INF\MANIFEST.MF
     目录           0  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\
     目录           0  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\
     文件      445288  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\antlr-2.7.7.jar
     文件       43578  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\asm-3.3.jar
     文件       38275  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\asm-commons-3.3.jar
     文件       21503  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\asm-tree-3.3.jar
     文件       68622  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\commons-fileupload-1.3.jar
     文件      159509  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\commons-io-2.0.1.jar
     文件      315805  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\commons-lang3-3.1.jar
     文件       62050  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\commons-logging-1.1.3.jar
     文件      313898  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\dom4j-1.6.1.jar
     文件      931168  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\freemarker-2.3.19.jar
     文件      614203  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\javassist-3.11.0.GA.jar
     文件      648253  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\javassist-3.15.0-GA.jar
     文件       60768  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\jboss-logging-3.1.0.GA.jar
     文件       25215  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\jboss-transaction-api_1.1_spec-1.0.1.Final.jar
     文件      489884  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\log4j-1.2.17.jar
     文件      398520  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\mongo-2.10.1.jar
     文件      275101  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\morphia-0.107.jar
     文件      227997  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\ognl-3.0.6.jar
     文件     1950905  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\poi-3.10-FINAL-20140208.jar
     文件      802044  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\struts2-core-2.3.15.1.jar
     文件      640239  2014-07-12 09:55  GPMS-master\WebContent\WEB-INF\lib\xwork-core-2.3.15.1.jar
............此处省略151个文件信息

评论

共有 条评论