O'Reilly logo

Struts 2 Design and Programming: A Tutorial by Budi Kurniawan

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 24. The Tiles Plug-in

Web applications need a consistent look, which you can achieve by using the same layout for all the pages. A typical layout has a header, a footer, a menu, an ad section, and a body content. Normally, many parts—such as the header, the footer, and the menu—look the same in all pages. To support component reuse, a common part can be implemented as an external resource. You then have the choice of using a frameset, a layout table, or div elements to include these external resources. With a frameset, you reference each common external resource using a frame. If layout tables or div elements are used, each JSP in your application will employ several include files: one for the header, one for the footer, one for the menu, ...

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