struts2 访问Servlet Api 有三种方法 1. ActionContext 2. ServletContextAware 实现该接口的Action可以访问ServletContext实例 ServletRequestAware 实现该接口的ACtion可以访问HttpServletRequest实例 ServletResponseAware 实现该接口的ACtion可以访问HttpServletResponse实例 3. ServletActionContext