Spring MVC Tiles Example

Spring provides integration support with apache tiles framework. So we can simply manage the layout of the spring mvc application by the help of spring tiles support.

Advantage of Tiles support in Spring MVC

  1. Reusability: We can reuse a single component in multiple pages like header and footer components.
  2. Centralized control: We can control the layout of the page by a single template page only.
  3. Easy to change the layout: By the help of single template page, we can change the layout of the page anytime. So your website can easily adapt new technologies such as bootstrap, jquery etc.