首页 | 本学科首页   官方微博 | 高级检索  
     

基于MVC模式的Struts框架的研究与应用
引用本文:张南平,朱富利.基于MVC模式的Struts框架的研究与应用[J].微机发展,2006,16(3):229-231.
作者姓名:张南平  朱富利
作者单位:武汉菲旺软件技术有限公司 湖北武汉430070(张南平),武汉理工大学计算机科学与技术学院 湖北武汉430070(朱富利)
摘    要:无论是选用纯JSP还是纯Servlet设计Web应用,都有扩展性差、不易分工的局限性。Struts就是把它们联系在一起的一种有力工具。它是一个MVC框架,提供了对开发MVC系统的底层支持,采用的主要技术有Servlet,JSP和自定义标签库。文中在介绍MVC模式的基础上,介绍了Struts体系结构,最后结合一个实例阐述了如何用Struts实现MVC结构,从而设计出了一个优秀的、完整的Struts开发框架。Struts框架被认为是目前开发J2EE Web应用最为理想和成熟的框架,这种开发模式将会逐渐被广大程序员所接受,并在实际开发中得到广泛应用。

关 键 词:Struts框架  MVC模型  Servlet  JSP  标签
文章编号:1005-3751(2006)03-0229-03
修稿时间:2005年6月8日

Research and Application of Struts Framework Based on MVC Pattern
ZHANG Nan-ping,ZHU Fu-li.Research and Application of Struts Framework Based on MVC Pattern[J].Microcomputer Development,2006,16(3):229-231.
Authors:ZHANG Nan-ping  ZHU Fu-li
Affiliation:ZHANG Nan-ping~1,ZHU Fu-li~2
Abstract:There will be localization of less expansibility and hard to divide the work whether using whole JSP or whole Servlet to design Web application.While the Struts is a powerful utilizable tool that relate them.It's an MVC frame and offer a bottom aegis to exploit MVS System.Servlet,JSP and custom base of tag are the main technologies of Struts.In this paper,on the base of introduction of the MVC pattern,introduced the framework of Structs.At last,combined an example,explained how to achieve MVC framework with Struts,then an excellent and integrate Struts framework is designed.At present,Struts framework is considered to be the idealest and maturest framework of J2EE Web application,this framework will be accepted gradually by most of programmers,and will be used widely in practical applications.
Keywords:Struts framework  MVC model  Servlet  JSP  tag  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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