|
Recipe 1.4. Upgrading from Struts 1.1 to Struts 1.2ProblemYou want to upgrade an application based on Struts 1.1 to Struts 1.2. Solution
DiscussionThe formal goal of Struts 1.2 was to remove deprecated methods and complete support for modules. Though Struts 1.2 doesn't make sweeping changes to the Struts core as Struts 1.1 did, it includes new features and enhancements that are worth the effort of upgrading. Many of these features are discussed throughout this book. Here are some of the most significant enhancements:
For a new application, you should use Struts 1.2. If you have an existing Struts 1.1 application, you will find that Struts 1.2 introduces a number of new and useful features. In comparison to migrating from Struts 1.0 to Struts 1.1, upgrading to Struts 1.2 is less intrusive and requires less code changes. See AlsoThe Struts wiki has additional details on this upgrade. The relevant wiki page can be found at http://wiki.apache.org/struts/StrutsUpgradeNotes11to124. |
|