I have created a simple application that utilizes JSP plugins. I have noticed as i work through the various pages that i have a common template or repeat in code for the header/footer/sidebar and the middle area is dynamic and changes from page to page. I looked around for a good way of "templating" the sections that are repeated in all of the pages. I found that facelets seems to be the answer. I guess my first question is to confirm if this is true
Next i was wondering if someone could provide a simple facelets example. Anything that shows the connection between the xhtml pages to help better convey the architecture of it in my head would be help.