资源简介

本系统实现了前台商品的预览、购物车、购买等和后台的对用户与商品的管理

资源截图

代码片段和文件信息

package org.whatisjava.dd.action;


import java.util.Map;

import javax.servlet.ServletContext;
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 org.apache.struts2.util.ServletContextAware;

import com.opensymphony.xwork2.ActionContext;

public class baseAction implements ServletRequestAware ServletResponseAwareServletContextAwareSessionAware{

protected ActionContext actionCtx = ActionContext.getContext();

protected HttpServletRequest request;    

protected HttpServletResponse response;          

protected ServletContext application;

protected Mapject> session ;

public void setServletRequest(HttpServletRequest request) {

this.request = request;
}

public void setServletResponse(HttpServletResponse response) {
this.response = response;

}

public void setServletContext(ServletContext application) {

this.application = application;
}

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

protected void put(String nameobject value){
actionCtx.put(name value);
}

protected object get(String name){
return actionCtx.get(name);
}


}

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

     文件       2629  2010-01-25 17:35  DangDangStruts2\.classpath

     文件        318  2010-03-06 21:24  DangDangStruts2\.mymetadata

     文件       1189  2009-01-23 17:26  DangDangStruts2\.project

     文件       1544  2010-02-02 00:18  DangDangStruts2\.settings\org.eclipse.core.resources.prefs

     文件        323  2009-01-23 17:26  DangDangStruts2\.settings\org.eclipse.jdt.core.prefs

     文件      41599  2010-02-04 22:33  DangDangStruts2\db\dd.sql

     文件       1298  2010-02-02 20:19  DangDangStruts2\src\hibernate.cfg.xml

     文件        510  2010-01-06 16:59  DangDangStruts2\src\log4j.properties

     文件        756  2010-02-02 00:16  DangDangStruts2\src\org\whatisjava\dd\action\authorize\CheckUserEmailAction.java

     文件        691  2010-02-02 00:16  DangDangStruts2\src\org\whatisjava\dd\action\authorize\CheckVerifyCodeAction.java

     文件        711  2010-02-02 00:18  DangDangStruts2\src\org\whatisjava\dd\action\authorize\GetProvinceAction.java

     文件        717  2010-02-02 00:16  DangDangStruts2\src\org\whatisjava\dd\action\authorize\LogInfoAction.java

     文件       1730  2010-02-04 22:02  DangDangStruts2\src\org\whatisjava\dd\action\authorize\UserLoginAction.java

     文件        327  2010-02-02 00:16  DangDangStruts2\src\org\whatisjava\dd\action\authorize\UserLoginFormAction.java

     文件        347  2010-02-02 19:05  DangDangStruts2\src\org\whatisjava\dd\action\authorize\UserLogoutAction.java

     文件       2075  2010-02-02 00:16  DangDangStruts2\src\org\whatisjava\dd\action\authorize\UserRegisterAction.java

     文件       1142  2010-02-02 00:16  DangDangStruts2\src\org\whatisjava\dd\action\authorize\UserRegisterCheckAction.java

     文件        418  2010-02-02 00:15  DangDangStruts2\src\org\whatisjava\dd\action\authorize\UserRegisterFormAction.java

     文件       2585  2010-02-02 00:15  DangDangStruts2\src\org\whatisjava\dd\action\authorize\VerifyCodeAction.java

     文件       1354  2010-01-25 20:07  DangDangStruts2\src\org\whatisjava\dd\action\baseAction.java

     文件       1239  2010-02-02 18:10  DangDangStruts2\src\org\whatisjava\dd\action\cart\CartItemAddAction.java

     文件        380  2010-02-02 00:13  DangDangStruts2\src\org\whatisjava\dd\action\cart\CartItemClearAction.java

     文件        588  2010-02-02 00:13  DangDangStruts2\src\org\whatisjava\dd\action\cart\CartItemDeleteAction.java

     文件       2286  2010-02-02 00:13  DangDangStruts2\src\org\whatisjava\dd\action\cart\CartItemListAction.java

     文件        764  2010-02-02 00:11  DangDangStruts2\src\org\whatisjava\dd\action\cart\CartItemNumberUpdateAction.java

     文件        551  2010-02-02 00:13  DangDangStruts2\src\org\whatisjava\dd\action\cart\CartItemRecoveryAction.java

     文件       1667  2010-02-02 00:14  DangDangStruts2\src\org\whatisjava\dd\action\cart\CartSumPriceAction.java

     文件        834  2010-02-02 00:14  DangDangStruts2\src\org\whatisjava\dd\action\order\GetAddressAction.java

     文件       1491  2010-02-02 00:12  DangDangStruts2\src\org\whatisjava\dd\action\order\OrderBuildAction.java

     文件        652  2010-02-02 00:12  DangDangStruts2\src\org\whatisjava\dd\action\order\OrderDeleteAction.java

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

评论

共有 条评论