Here I would
like to show how to integrate Spring3 with Apache Tiles3 framework.
Project Structure:
Dependencies
(pom.xml):
View Resolver
Configuration:
Controller Class:
Tile definitions:
We have to define a
tile definition to make use of tiles. We can define a specific tile definition
or we can extend the existing definition. Here are the tile definitions
required for this project.
Browser View:
This is the first
page for tile definition name ‘mytile’. On click of the link ‘Another Tile Page’
the second page will display.
Download the source code