O'Reilly logo

Struts 2 in Action by Scott Stanlick, Chad Michael Davis, Don Brown

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Extending Struts 2 with plug-ins

This chapter covers

  • Extending the functionality of Struts 2
  • Integrating with SiteMesh, Tiles, and JFreeChart
  • Injecting constants and beans
  • Writing a breadcrumb plug-in

At this point, you’ve looked at all the essential artifacts that make up Struts 2. You’ve seen how all the parts fit together and could go off and write some amazing code. However, you probably wouldn’t get the best return on your investment. This section begins our review of the advanced features that tie all the basics together in exciting and useful ways.

Like any well-designed software, you should be able to extend the functionality without modifying existing code. Struts 2 leverages the plug-in architecture for this very purpose. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required