Conclusions

The Tiles tag library enables you to totally abstract your page layout by defining logical names in an XML layout file. Because layouts can be extended from other layouts, you define a foundation layout and base all the other page layouts on that one, only having to define what is different about the other pages.

To use Tiles effectively with Struts, you must use the Tiles plug-in. This enables you to use a logical Tiles layout name in place of a JSP filename anywhere in the strutsconfig.xml file.

Get Struts Kick Start now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.