Hi
I am working on a project at the moment which involves making a JAVA web application with spring. Currently I am busy with some Front End taskes like putting up the first pages. Supporting mutlilanguages, Including registration/login featuresn etc...
The situation
I noticed that for a consistent layout I had to copy paste all text/tags from my home.jsp to about.jsp, news.jsp etc for example. When I add a link, I also have to add the link in the menu on every page.
The question
How can I implement something like a MASTERPAGE (same as in ASP.NET). Creating one page, which has a a content area, where I can display all content from another page. Is there a framework or principle ( if possible (not required), with spring ? ) which can provide this.
Before you answer
I am not planning to make a solid CMS system. Every page could contain javascript, ajax and other front end technologies. I just want to have a consistent layout without copy/paste to much...
The answer
I'll let this open for you people :c-lol:
2 replies to this topic
#1
Posted 15 February 2011 - 03:26 AM
|
|
|
#2
Posted 16 February 2011 - 12:17 AM
Here it is: Facelets tutorial. Using templates.
#3
Posted 16 February 2011 - 02:47 AM
Thanks for the help
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









