摘要
无论是选用纯JSP还是纯Servlet设计Web应用,都有扩展性差、不易分工的局限性。Struts就是把它们联系在一起的一种有力工具。它是一个MVC框架,提供了对开发MVC系统的底层支持,采用的主要技术有Servlet,JSP和自定义标签库。文中在介绍MVC模式的基础上,介绍了Struts体系结构,最后结合一个实例阐述了如何用Struts实现MVC结构,从而设计出了一个优秀的、完整的Struts开发框架。Struts框架被认为是目前开发J2EE Web应用最为理想和成熟的框架,这种开发模式将会逐渐被广大程序员所接受,并在实际开发中得到广泛应用。
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 on example, explained how to achieve MVC framework with Struts,than 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.
出处
《计算机技术与发展》
2006年第3期229-231,234,共4页
Computer Technology and Development