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

基于MVC的Struts框架和标记库的研究与应用
引用本文:杜明,李朝纯.基于MVC的Struts框架和标记库的研究与应用[J].微机发展,2004,14(11):110-113,116.
作者姓名:杜明  李朝纯
作者单位:武汉理工大学计算机学院,武汉理工大学计算机学院 湖北武汉430070,湖北武汉430070
摘    要:Struts是基于MVC模式的非常优秀的Web应用框架。由于它很好地实现了MVC,而且其标记库具有强大的页面开发功能,因此近年来越来越多被运用于很多大型系统,成为Web应用开发中最为流行的框架之一。文中介绍了MVC设计模式和Struts框架的工作原理,然后重点介绍了Struts框架的组件和标记库的应用,并结合具体的实例,给出了运用Struts框架的方法。此实例充分表明Struts框架通过把用户界面和事务逻辑分离开,使得Web层更易于管理和护展。

关 键 词:MVC模式  Struts  框架  标记库
文章编号:1005-3751(2004)11-0110-04

Research and Application of Struts Framework and Struts Tag Libraries Based on MVC Pattern
DU Ming,LI Chao-chun.Research and Application of Struts Framework and Struts Tag Libraries Based on MVC Pattern[J].Microcomputer Development,2004,14(11):110-113,116.
Authors:DU Ming  LI Chao-chun
Abstract:Struts is an excellent framework based on MVC pattern for Web applications. Because it provides an implementation for the MVC structure and its tag libraries have many advantages in development, Struts is more and more used in lots of Web applications, and becomes one of the popular frameworks. This paper first introduces MVC design pattern and the working principle of Struts, then introduces emphatically the application of Struts framework and Struts tag libraries. And finally, the paper illustrates how to design a Struts-based application by an example. This example shows that there is a clear separation of the business logic and presentation output by using Struts framework ,and Web application can be easier to maintain and can be more extensible.
Keywords:MVC pattern  Struts  framework  tag libraries  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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