All websites have some common layout through out all the pages. For example in most of the website header and footer remain the same whereas the body part keep changing. This is called as composite view pattern. Apache tiles works on the priciple of composite view pattern where you can define your different page fragments such as header, footer, side menus, body seperately and spring tiles will assemble all the fragments into a complete page at runtime.

Apache tiles is a free open-sourced templating framework for modern Java applications. Based upon the Composite pattern it is built to simplify the development of user interfaces.

Continue Reading here - [Boot Apache Tiles Example]

Community content is available under CC-BY-SA unless otherwise noted.