Chapter 14. Migration from Struts Classic

 

This chapter covers

  • Migrating from Struts 1 to Struts 2
  • Switching to the new tag library
  • Breaking up message resources
  • Migrating one piece at a time

So you’re convinced Struts 2 is worth the effort to learn, but you also have all this knowledge and experience with Struts 1, also called Struts Classic. And what about all those Struts 1 websites in production? This chapter compares and contrasts the similarities and differences between the two Struts versions and provides useful migration strategies for you. The good news is you don’t have to relearn everything. In fact, some of the esoteric things you had to remember to do in Struts Classic have been eliminated. Also, many features we always wished for in Struts 1 have finally arrived in Struts 2. So grab a lovely beverage and let’s get started. I am going to trust you are familiar with a version of Struts Classic.

14.1. Translating Struts Classic knowledge

 
 
 

14.2. Converting by piecemeal

 
 
 
 

14.3. Summary

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest