Announcement Announcement Module
Collapse
No announcement yet.
Create a template for the html home page so that I can extend it on other pages Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

    thank you.
    Last edited by hariharansrc; Nov 17th, 2012, 02:44 AM. Reason: For more clarity of content

  • #2
    Take a look at Tiles.

    Comment

    Working...
    X