Nov 17th, 2012, 01:13 AM
Create a template for the html home page so that I can extend it on other pages
I have a common template for HTML which is used throughout the application. So is there any way, I can have a common template which I can aggregate to other pages. So changes will be reflected in all the pages when I am making changes to the template
For example, consider I am having 10 HTML pages and a homepage. The template used in homepage will be common for all the pages. So how to extend or aggregate the homepage in other pages so that any changes in the homepage will be reflected in other pages. Since HTML doesn't support inheritance how can I do that with Spring.
I am currently using Spring MVC. What is best approach for attaining that?
Do we need any template engine such as apache velocity for attaining that?
Last edited by hariharansrc; Nov 17th, 2012 at 01:44 AM.
Reason: For more clarity of content
Tags for this Thread