
对于Struts2,我是才开始去了解的,一时也不知该怎样概述。我只看过Struts2的部分英文文档和一些关于Struts2的博客文章,我只能以个人理解阐述一二。
Struts是优秀的java语言的MVC(模型、视图、控制器)开源框架;Struts2是目前最新版本,是结合Struts与WebWork两个框架而来的,但绝大部分属于原先WebWork框架。所以有人直骂Struts2是抄袭,而有人说实质是两者强强联合。有人开始说Struts2实现了0配置,也有人说XML配置和元数据都是配置。众说纷纭。由于我没去了解过WebWork,而现在才开始了解Struts2,所以还没有什么感想。
Struts2的平台要求是:Servlet 2.4 、JSP 2.0 和Java 5 。
官方描述是这样:
Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to streamline the full development cycle, from building, to deploying, to maintaining applications over time.
Apache Struts 2 was originally known as WebWork 2. After working independently for several years, the WebWork and Struts communities joined forces to create Struts2. This new version of Struts is simpler to use and closer to how Struts was always meant to be.
翻译成中文是这样:
Apache Struts 2是一个为企业准备好创造Java Web应用程序的优雅的、可扩展的框架。 框架设计简化了整个开发周期, 从应用程序的创建到部署、到维护。
Apache Struts 2最初作为WebWork 2被人认识。 经过几年的独立发展, WebWork和Struts社区协力创造Struts2。 Struts的这个新版本使用更加简单了,同时也更接近Struts一直所期望的那样。(译得很吃力)