Struts2 five core components (actions, interceptors, value stack/ OGNL, result type)
all: The controller is implemented with a Struts2 dispatch servlet filter as well as interceptors. the model is implemented with actions,and the view as a combination of result types and results,The value stack and OGNL provide common thread,linking and enabling integration between the other components.
本文介绍了Struts2框架的五个核心组件:actions、拦截器(interceptors)、值栈(value stack)/OGNL、结果类型(result type)。Struts2通过dispatch servlet过滤器及拦截器实现控制器功能,使用actions作为模型,结合结果类型和结果实现视图功能。值栈和OGNL贯穿整个框架,实现了各组件间的连接与集成。
968

被折叠的 条评论
为什么被折叠?



