本毕业设计是2015年6月作者自己写的哦,比较适合大四狗,你懂得!下载后可以直接运行,对了数据库采用的是mysql 后台采用的是SSH框架搭建的(哈哈,够经典吧)
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-03-16 11:23 EmploymentManagementSystem
文件 3097 2015-02-07 13:27 EmploymentManagementSystem.classpath
文件 503 2015-03-06 14:00 EmploymentManagementSystem.myhibernatedata
文件 330 2015-02-09 23:03 EmploymentManagementSystem.mymetadata
文件 2179 2015-03-16 11:23 EmploymentManagementSystem.project
目录 0 2015-03-16 11:23 EmploymentManagementSystem.settings
文件 500 2015-02-04 11:29 EmploymentManagementSystem.settings.jsdtscope
文件 172 2015-02-04 11:29 EmploymentManagementSystem.settingscom.genuitec.eclipse.core.prefs
文件 1009 2015-02-09 23:03 EmploymentManagementSystem.settingscom.genuitec.eclipse.j2eedt.core.prefs
文件 145 2015-02-28 14:12 EmploymentManagementSystem.settingsorg.eclipse.core.resources.prefs
文件 364 2015-02-04 11:29 EmploymentManagementSystem.settingsorg.eclipse.jdt.core.prefs
文件 559 2015-03-16 11:37 EmploymentManagementSystem.settingsorg.eclipse.wst.common.component
文件 252 2015-02-04 11:29 EmploymentManagementSystem.settingsorg.eclipse.wst.common.project.facet.core.xml
文件 49 2015-02-04 11:29 EmploymentManagementSystem.settingsorg.eclipse.wst.jsdt.ui.superType.container
文件 6 2015-02-04 11:29 EmploymentManagementSystem.settingsorg.eclipse.wst.jsdt.ui.superType.name
文件 474 2015-02-07 13:33 EmploymentManagementSystem.springBeans
目录 0 2015-04-18 18:22 EmploymentManagementSystemWebRoot
目录 0 2015-03-16 11:23 EmploymentManagementSystemWebRootmeta-INF
文件 36 2015-02-04 11:29 EmploymentManagementSystemWebRootmeta-INFMANIFEST.MF
文件 1660 2015-04-18 19:44 EmploymentManagementSystemWebRootNewFile.html
目录 0 2015-03-16 11:23 EmploymentManagementSystemWebRootWEB-INF
目录 0 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclasses
目录 0 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescom
目录 0 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommyth
目录 0 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythaction
文件 2731 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionaseAction.class
文件 2656 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionCompanyAction.class
文件 3157 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionLoginuserAction.class
文件 1567 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionNationAction.class
文件 2353 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionNoticeAction.class
文件 1421 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionPermissionAction.class
............此处省略695个文件信息
package com.myth.action;
import java.lang.reflect.ParameterizedType;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.util.ServletContextAware;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
/*
* 一些公共的代码,
*/
public class baseAction extends ActionSupport implements ModelDrivenServletRequestAwareServletContextAware{
//定义一些返回结果
protected static final String LIST=“list“;
protected static final String ADDUI=“addUI“;
protected static final String UPDATEUI=“updateUI“;
protected static final String TOLIST=“toList“;
protected static final String LOGINUI=“loginUI“;
protected static final String REGISTUI=“registUI“;
protected static String list=LIST;
protected static String addUI=ADDUI;
protected static String updateUI=UPDATEUI;
protected static String toList=TOLIST;
protected static String loginUI=LOGINUI;
protected static String registUI=REGISTUI;
protected T entity;
protected HttpServletRequest request;
protected ServletContext servletContext;
//@Resource
//protected CostService costServiceImp;
//---------------分页时需要用到的当前页属性
protected String currentPage = “1“;
public String getCurrentPage() {
return currentPage;
}
public void setCurrentPage(String currentPage) {
this.currentPage = currentPage;
}
//---------------分页时需要用到的当前页属性
private Class clazz;
public void setServletContext(ServletContext servletContext) {
this.servletContext=servletContext;
}
public void setServletRequest(HttpServletRequest request) {
this.request = request;
}
public baseAction(){
ParameterizedType type=(ParameterizedType) this.getClass().getGenericSuperclass();
clazz=(Class) type.getActualTypeArguments()[0];
try {
entity = (T) clazz.newInstance();
} catch (Exception e) {
e.printStackTrace();
}
}
public T getModel() {
return this.entity;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-03-16 11:23 EmploymentManagementSystem
文件 3097 2015-02-07 13:27 EmploymentManagementSystem.classpath
文件 503 2015-03-06 14:00 EmploymentManagementSystem.myhibernatedata
文件 330 2015-02-09 23:03 EmploymentManagementSystem.myme
文件 2179 2015-03-16 11:23 EmploymentManagementSystem.project
目录 0 2015-03-16 11:23 EmploymentManagementSystem.settings
文件 500 2015-02-04 11:29 EmploymentManagementSystem.settings.jsdtscope
文件 172 2015-02-04 11:29 EmploymentManagementSystem.settingscom.genuitec.eclipse.core.prefs
文件 1009 2015-02-09 23:03 EmploymentManagementSystem.settingscom.genuitec.eclipse.j2eedt.core.prefs
文件 145 2015-02-28 14:12 EmploymentManagementSystem.settingsorg.eclipse.core.resources.prefs
文件 364 2015-02-04 11:29 EmploymentManagementSystem.settingsorg.eclipse.jdt.core.prefs
文件 559 2015-03-16 11:37 EmploymentManagementSystem.settingsorg.eclipse.wst.common.component
文件 252 2015-02-04 11:29 EmploymentManagementSystem.settingsorg.eclipse.wst.common.project.facet.core.xm
文件 49 2015-02-04 11:29 EmploymentManagementSystem.settingsorg.eclipse.wst.jsdt.ui.superType.container
文件 6 2015-02-04 11:29 EmploymentManagementSystem.settingsorg.eclipse.wst.jsdt.ui.superType.name
文件 474 2015-02-07 13:33 EmploymentManagementSystem.springBeans
目录 0 2015-04-18 18:22 EmploymentManagementSystemWebRoot
目录 0 2015-03-16 11:23 EmploymentManagementSystemWebRootme
文件 36 2015-02-04 11:29 EmploymentManagementSystemWebRootme
文件 1660 2015-04-18 19:44 EmploymentManagementSystemWebRootNewFile.html
目录 0 2015-03-16 11:23 EmploymentManagementSystemWebRootWEB-INF
目录 0 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclasses
目录 0 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescom
目录 0 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommyth
目录 0 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythaction
文件 2731 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactiona
文件 2656 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionCompanyAction.class
文件 3157 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionLoginuserAction.class
文件 1567 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionNationAction.class
文件 2353 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionNoticeAction.class
文件 1421 2015-05-29 15:00 EmploymentManagementSystemWebRootWEB-INFclassescommythactionPermissionAction.class
............此处省略695个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)