request response session


public class BaseAction implements RequestAware, SessionAware, ServletResponseAware, ServletRequestAware {
	public Map<String, Object> request;
	public Map<String, Object> session;
	public HttpServletRequest httpServletRequest;
	public HttpServletResponse httpServletResponse;
	public Logger logger = Logger.getLogger(BaseAction.class);
	
	public void setServletRequest(HttpServletRequest arg0) {
		this.httpServletRequest = arg0;
	}

	public void setSession(Map<String, Object> arg0) {
		this.session = arg0;
	}

	public void setRequest(Map<String, Object> arg0) {
		this.request = arg0;
	}

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

}


request httpServletRequest 是一样的

都可以保存/提取数据

你可能感兴趣的:(response)