摘要
介绍了一种目前在J2EE平台上应用日益广泛的Web应用程序框架——Struts,以及Struts所基于的MVC(Model-View-Controller,模型-视图-控制器)设计模式。通过在Web页面中使用Struts框架定义的标签,实现页面表示层与事务/数据层的分离,从而使页面更加简洁、易于管理。最后,以一个实际J2EE项目为例,说明如何使用Struts构建Web应用程序,实现MVC模式。
A web application framework called struts is introduced, which is more and more widely used od J2EE platforms.Moreover, the MVC (Model-View-Controller) design pattern is explains which struts is based on. By using Struts tags in web pages, the expression layer and logic procession/data layer of the pages were separated to make the pages to be easily maintained and simpler. Finally, by referring to a J2EE project, how to use struts to construct a web application program and how to implement MVC design pattern into the application program are demonatrated.
出处
《计算机工程与设计》
CSCD
北大核心
2005年第9期2488-2490,2542,共4页
Computer Engineering and Design