节点文献
基于MVC的Struts框架和标记库的研究与应用
Research and Application of Struts Framework and Struts Tag Libraries Based on MVC Pattern
【摘要】 Struts是基于MVC模式的非常优秀的Web应用框架。由于它很好地实现了MVC,而且其标记库具有强大的的页面开发功能,因此近年来越来越多被运用于很多大型系统,成为Web应用开发中最为流行的框架之一。文中介绍了MVC设计模式和Struts框架的工作原理,然后重点介绍了Struts框架的组件和标记库的应用,并结合具体的实例,给出了运用Struts框架的方法。此实例充分表明Struts框架通过把用户界面和事务逻辑分离开,使得Web层更易于管理和扩展。
【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.
- 【文献出处】 微机发展 ,Microcomputer Development , 编辑部邮箱 ,2004年11期
- 【分类号】TP311.5
- 【被引频次】43
- 【下载频次】152