struts2---访问WEB

一:在Action中,可以通过以下方式访问WEB的HttpSession,HttpServletRequest,HttpServletResponse等资源   与Servlet API解耦的访问方式 通过 import com.opensymphony.xwork2.ActionContext; 通过实现XxxAware接口; 特点:只能访问有限的servlet API对象。有限的方法(读取请求
相关文章
相关标签/搜索