e-book format: chm
Struts2 tutorial
Struts 1 is the world's first released MVC framework. It was released by Craig McClanahan in 2001. Once the framework was launched, it was supported by Java Web developers around the world. After 6 years of hard work, Struts 1 The framework is more mature and stable, and its performance is also well guaranteed. Therefore, so far, Struts 1 is still the most widely used MVC framework in the world.
At present, there are many web-based MVC frameworks and they are developing rapidly. A new MVC framework is released every once in a while, such as JSF, Tapestry and Spring MVC. In addition to these famous MVC frameworks, there are also MVC frameworks from some marginal teams that are also of great reference value.
For enterprises to actually use the MVC framework, the stability of the framework should be the most important issue to consider. A framework that has just started may have some hidden problems and will introduce its own bugs into its own applications. This is why the author does not recommend developers to implement the framework themselves.
Although Struts 2 is known as a brand new framework, this is only relative to Struts 1. Compared with Struts 1, Struts 2 does have many revolutionary improvements, but it is not a newly released new framework, but developed on the basis of another well-known framework: WebWork. To some extent, Strut2 does not inherit the lineage of Struts 1, but inherits the lineage of WebWork. In other words, WebWork derived Struts 2, rather than Struts 1 derived Struts 2. Because Struts 2 is an upgrade of WebWork, rather than a brand new framework, stability, performance and other aspects are well guaranteed; it also absorbs the advantages of both Struts 1 and WebWork, so it is very worth looking forward to. frame.
Expand