ActionMapper 是干什么用的?
来源:互联网 发布:模板装修辅助工具源码 编辑:程序博客网 时间:2024/04/28 05:23
public abstract interface org.apache.struts2.dispatcher.mapper.ActionMapper {}public abstract org.apache.struts2.dispatcher.mapper.ActionMapping getMapping(javax.servlet.http.HttpServletRequest arg0, com.opensymphony.xwork2.config.ConfigurationManager arg1);public abstract org.apache.struts2.dispatcher.mapper.ActionMapping getMappingFromActionName(java.lang.String arg0);public abstract java.lang.String getUriFromActionMapping(org.apache.struts2.dispatcher.mapper.ActionMapping arg0);http请求,进入ActionContextCleanup(session,Attribute保留),走一些过滤器,filter,然后进入struts2 FilterDispatcher然后进入ActionMapper,这个是用来判断请求是否 需要struts2处理,如果需要,那么由ActionProxy来接管,通过配置管理我们可以找到我们的struts.xml,然后进入真正做事的ActionInvocation,依次穿过我们的拦截器,进入action,从而根据返回的result选择我们要的页面,在拦截器的前半部分去值栈中取值通过标签展示在页面上,最后生成response返回
0 0
- ActionMapper 是干什么用的?
- ?????????这是干什么用的?
- 显卡是干什么用的?
- 花生壳是干什么用的
- PatternCompiler是干什么用的
- CC_DLL是干什么用的
- CC_DLL是干什么用的
- 花生壳是干什么用的
- DoEvents是干什么用的?
- @jsonignoreproperties 是干什么用的
- string前的@是干什么用的
- VideoSoft FlexArray 控件是干什么用的
- 这段代码是干什么用的
- tld 文件是干什么用的啊?
- 框架到底是干什么用的?
- 超经典 网关是干什么用的
- PowerDesigner到底是干什么用的?
- virtual destructor是干什么用的
- Lucene学习总结之二:Lucene的总体架构
- 把Excel当成数据库操作
- UVA-10881 - Piotr's Ants
- struts2的处理请求的全过程是什么
- C++set集合
- ActionMapper 是干什么用的?
- Caffe中learning rate 和 weight decay 的理解
- 【zzulioj 1894 985的方格难题】
- Servlet容器的概念
- 解决mac osx编译libevent找不到openssl目录的问题
- poj 2418 Hardwood Species
- WEB-INF目录与META-INF目录的作用
- HDU-2602 Bone Collector 【01背包裸题】
- POJ3009-Curling 2.0