资源简介

支持前后台登录,代码简洁完美,万能的ssh模板。 前台登录:http://localhost:8080/express/jsp/frontdesk/index.jsp 后台登录:http://localhost:8080/express/jsp/frontdesk/index.jsp

资源截图

代码片段和文件信息

package com.express.action;

import java.util.Map;

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

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;
import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;

public class baseAction extends ActionSupport implements ServletRequestAware
ServletResponseAware SessionAware {
private static final long serialVersionUID = 1L;
HttpServletRequest request;
HttpServletResponse response;
Mapject> session;

public void setServletRequest(HttpServletRequest request) {
this.request = request;
}

public void setServletResponse(HttpServletResponse response) {
response.setCharacterEncoding(“utf-8“);
this.response = response;
}

public void setSession(Mapject> session) {
this.session = session;
}

public HttpServletRequest getRequest() {
return request;
}

public HttpServletResponse getResponse() {
return response;
}

public Mapject> getSession() {
return session;
}

}

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

     文件        529  2016-06-23 10:21  express-last\express-last\.classpath

     文件        304  2016-06-27 22:08  express-last\express-last\.mymetadata

     文件       1755  2016-06-27 22:07  express-last\express-last\.project

     文件        500  2016-06-20 08:36  express-last\express-last\.settings\.jsdtscope

     文件       1009  2016-06-26 22:27  express-last\express-last\.settings\com.genuitec.eclipse.j2eedt.core.prefs

     文件         89  2016-06-26 22:27  express-last\express-last\.settings\com.genuitec.jboss.ide.eclipse.xdoclet.run.prefs

     文件         57  2016-06-21 22:15  express-last\express-last\.settings\org.eclipse.core.resources.prefs

     文件        364  2016-06-20 08:36  express-last\express-last\.settings\org.eclipse.jdt.core.prefs

     文件        469  2016-06-27 22:07  express-last\express-last\.settings\org.eclipse.wst.common.component

     文件        252  2016-06-20 08:36  express-last\express-last\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2016-06-20 08:36  express-last\express-last\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2016-06-20 08:36  express-last\express-last\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       5349  2016-06-27 19:05  express-last\express-last\src\applicationContext.xml

     文件       1181  2016-06-27 21:50  express-last\express-last\src\com\express\action\baseAction.java

     文件       3906  2016-06-27 09:47  express-last\express-last\src\com\express\action\CountRecordAction.java

     文件       2620  2016-06-26 14:19  express-last\express-last\src\com\express\action\CreateRecordAction.java

     文件       2697  2016-06-27 20:44  express-last\express-last\src\com\express\action\DeleteRecordAction.java

     文件       4064  2016-06-27 21:50  express-last\express-last\src\com\express\action\DeptAction.java

     文件       7245  2016-06-27 21:51  express-last\express-last\src\com\express\action\EmpAction.java

     文件       4190  2016-06-27 14:31  express-last\express-last\src\com\express\action\ExpressAction.java

     文件       1244  2016-06-27 21:51  express-last\express-last\src\com\express\action\LoginAction.java

     文件       9587  2016-06-27 21:06  express-last\express-last\src\com\express\action\PackageAction.java

     文件       4219  2016-06-26 23:42  express-last\express-last\src\com\express\action\RegionAction.java

     文件       4561  2016-06-27 21:53  express-last\express-last\src\com\express\action\RoleAction.java

     文件       2401  2016-06-26 14:19  express-last\express-last\src\com\express\action\ShippingAction.java

     文件       2279  2016-06-27 21:53  express-last\express-last\src\com\express\action\UserAction.java

     文件        353  2016-06-24 10:34  express-last\express-last\src\com\express\common\Constants.java

     文件        690  2016-06-27 21:56  express-last\express-last\src\com\express\dao\baseDao.java

     文件       2081  2016-06-27 21:56  express-last\express-last\src\com\express\dao\imp\baseDaoImp.java

     文件        698  2016-06-24 21:03  express-last\express-last\src\com\express\exception\MySysException.java

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

评论

共有 条评论