首页 | 官方网站   微博 | 高级检索  
     

Struts2框架技术的研究与分析
作者单位:中国矿业大学计算机科学与技术学院
摘    要:作为一个优秀的MVC框架,Struts得到了广泛应用。然而,随着应用领域的扩大,也逐渐暴露出了一些不足。Struts2框架是新推出的一个MVC框架,基于WebWork核心,与Struts相比,具有较大变化。介绍了Struts框架与WebWork框架,详细分析了Struts2框架的体系结构,通过与Struts框架对比,重点探讨了Struts2控制器的实现原理,总结出Struts2的优势。

关 键 词:WebWork  Struts1  Struts2  控制器  拦截器  视图层

Research and Analysis of Technology Based on Struts2
Authors:GENG Wei  LIU Zhen-hai  SUN Lei
Abstract:Struts has being applied widely as an excellent framework based on MVC pattern.while the shortage of Struts has being discov-ered gradually with the expansion of applications.Struts2 is a new MVC framework based on the core of WebWork framework.By con-trast with Struts, Struts2 has changed greatly.Describes the WebWork and Struts1 framework, and expatiates the architecture of Struts2.By contrasting Struts2 and Struts, emphatically discusses the principle of the controller, and summarizes the advantage of using Struts2.
Keywords:webwork  struts1  struts2  controller  interceptor  viewer
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号