资源简介

一个ssh简单整合示例,带有数据库 软件环境:myeclipse+jdk1.6+tomcat6.0+mysql。简单实用,供初学者参考

资源截图

代码片段和文件信息

package org.jossinfo.furniture.action;


import java.util.Map;

import javax.servlet.http.HttpServletRequest;

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

public class baseAction implements SessionAwareRequestAwareServletRequestAware{
protected Mapject> session;
protected Mapject> request;
protected HttpServletRequest httpRequest;

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

public void setRequest(Mapject> request) {
this.request = request;
}

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

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-10-12 13:43  furniture\
     文件        3339  2015-02-15 10:25  furniture\.classpath
     目录           0  2015-10-12 13:42  furniture\.myeclipse\
     文件         301  2015-10-12 13:40  furniture\.mymetadata
     文件        1415  2015-02-15 13:59  furniture\.project
     目录           0  2015-10-12 13:42  furniture\.settings\
     文件        1040  2015-02-15 13:59  furniture\.settings\com.genuitec.eclipse.j2eedt.core.prefs
     文件         120  2015-02-15 13:59  furniture\.settings\com.genuitec.jboss.ide.eclipse.xdoclet.run.prefs
     文件       13697  2015-10-12 13:36  furniture\hm.sql
     目录           0  2015-10-12 13:42  furniture\src\
     文件        2406  2015-10-12 13:35  furniture\src\applicationContext-component.xml
     目录           0  2015-10-12 13:42  furniture\src\org\
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\furniture\
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\furniture\action\
     文件         759  2015-02-15 13:54  furniture\src\org\jossinfo\furniture\action\baseAction.java
     文件         699  2015-03-11 14:13  furniture\src\org\jossinfo\furniture\action\HomeAction.java
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\furniture\action\product\
     文件         945  2015-03-02 15:49  furniture\src\org\jossinfo\furniture\action\product\ProductCtgAction.java
     文件         752  2015-03-02 15:10  furniture\src\org\jossinfo\furniture\action\product\ProductDetailAction.java
     文件         830  2015-03-02 15:15  furniture\src\org\jossinfo\furniture\action\product\ProductPptyAction.java
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\furniture\dao\
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\furniture\dao\hibernateDAOImp\
     文件        3914  2015-03-11 14:24  furniture\src\org\jossinfo\furniture\dao\hibernateDAOImp\ProductDAOImp.java
     文件         415  2015-03-11 14:17  furniture\src\org\jossinfo\furniture\dao\ProductDAO.java
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\furniture\entity\
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\furniture\entityxml\
     文件        1459  2015-02-25 10:19  furniture\src\org\jossinfo\furniture\entityxml\Product.hbm.xml
     文件        1388  2015-02-25 10:19  furniture\src\org\jossinfo\furniture\entity\Product.java
     目录           0  2015-10-12 13:42  furniture\src\org\jossinfo\furniture\test\
     文件         858  2015-03-02 15:33  furniture\src\org\jossinfo\furniture\test\TestProduct.java
............此处省略162个文件信息

评论

共有 条评论