It should not be just some chunk of HTML. Template should define basic structure of the document.
For example http://www.springbyexample.org/examples/dynamic-tiles-spring-mvc-module-tiles-jsp-example.html