Struts2之ServletActionContext、ActionContext、ActionInvocation
2016-12-10 20:50
211 查看
1、ActionContext api详解
static ActionContext getContext():返回ActionContext对象Map<String,Object> getApplication() :返回代表ServletContext的map
Map<String,Object> getContextMap() :返回代表HttpServletRequest的map
Map<String,Object> getSession(): 返回代表HttpSession的map
2、ServletActionContext api详解
extends ActionContext
static PageContext getPageContext() :返回 PageContext对象
static HttpServletRequest getRequest() :返回 HttpServletRequest对象
static HttpServletResponse getResponse():返回 HttpServletResponse
static ServletContext getServletContext() :返回ServletContext对象
3、ActionInvocation api详解
ActionContext getInvocationContext():返回ActionContext对象ActionProxy getProxy()
String invoke():指行ActionInvocation的下一步骤
相关文章推荐
- struts2 拦截器和actioninvocation
- Struts2源码阅读(六)_ActionProxy&ActionInvocation
- Struts2源码阅读(六)_ActionProxy&ActionInvocation
- Struts2:拦截器和actioninvocation
- 怎么从ActionInvocation(拦截器)中获取用户jsp表单提交的所有值,比如用户输入的任意项
- Struts2源码阅读(六)_ActionProxy&ActionInvocation
- ActionInvocation
- actionInvocation.invoke()是什么意思
- actionInvocation.invoke()是什么意思
- ActionInvocation的理解
- actionInvocation有什么用
- struts2 拦截器和actioninvocation
- Struts2源码阅读(六)_ActionProxy&ActionInvocation
- struts2 拦截器和actioninvocation
- DefaultActionInvocation 源码
- actionInvocation.invoke()是什么意思
- Struts2源码阅读(六)_ActionProxy&ActionInvocation
- actionInvocation.invoke()是什么意思,配置自己的验证拦截器
- ActionInvocation的理解
- ActionContext 、Interceptor和ActionInvocation