• 大小: 5.52MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-02
  • 语言: 其他
  • 标签: 当当网  文档  源码  

资源简介

本人在达内做的最后一个完整项目,希望对后学者有帮组

资源截图

代码片段和文件信息

package org.tarena.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;

/**
 * 定义一些通用属性,方便编程
 * 
 * @author zhangxiantao 
 * 
 */
public class BasicAction extends ActionSupport implements SessionAware
ServletRequestAware ServletResponseAware {
protected Mapject> session;

protected HttpServletRequest request;

protected HttpServletResponse response;

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

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

public void setRequestMessage(String key object value) {
request.setAttribute(key value);
}

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

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

     文件       1463  2010-11-29 08:20  wanzhengdangdangwang\.classpath

     文件        297  2010-11-29 08:20  wanzhengdangdangwang\.mymetadata

     文件       1182  2010-11-29 08:20  wanzhengdangdangwang\.project

     文件        182  2010-11-29 08:20  wanzhengdangdangwang\.settings\org.eclipse.core.resources.prefs

     文件        323  2010-11-29 08:20  wanzhengdangdangwang\.settings\org.eclipse.jdt.core.prefs

     文件      18257  2010-11-29 08:20  wanzhengdangdangwang\liu.umr

     文件      18253  2010-11-29 08:20  wanzhengdangdangwang\liu.umr~

     文件      16498  2010-11-29 08:20  wanzhengdangdangwang\src\dang.sql

     文件        210  2010-11-29 08:20  wanzhengdangdangwang\src\dbcp.properties

     文件       1104  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\BasicAction.java

     文件       3983  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\cart\CartAction.java

     文件        587  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\cart\ShowCartAction.java

     文件        739  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\interceotor\LoginInterceptor.java

     文件        929  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\BookInformationAction.java

     文件       3952  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\BookListAction.java

     文件        683  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\CategoryAction.java

     文件        853  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\HotAction.java

     文件        989  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\HotMoreAction.java

     文件        961  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\MoreAddAction.java

     文件        950  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\NewBookAction.java

     文件       1003  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\RecommendAction.java

     文件       3026  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\main\SortAction.java

     文件        349  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\order\AddressAction-save-validation.xml

     文件       2540  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\order\AddressAction.java

     文件       1938  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\order\OrderInfoAction.java

     文件       1926  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\user\ImageAction.java

     文件       1737  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\user\LoginAction.java

     文件        305  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\user\LogoutAction.java

     文件       1501  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\user\OrderViewAction.java

     文件        346  2010-11-29 08:24  wanzhengdangdangwang\src\org\tarena\action\user\RegistAction-regist-validation.xml

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

评论

共有 条评论