previous | index | next

Reusing Layouts

Suppose we want to present multiple books as in this library application.

We would like to not have to replicate the layout code for both pages.

We can encapsulate the layout code for reuse using Apache Tiles.

A tile is just an imported JSP page with these additional features:


previous | index | next