I am trying to include a xhtml page into a Template content.Such that the content of template may contain the output of that xhtml file. I don't how to include this,so please give me some suggestions.
`index.xhtml
    <ui:composition template="newTemplate.xhtml">
         <ui:define name="content"   ></ui:define></ui:composition>
</h:body>`
newTemplate.xhtml
    <div id="top">
        <ui:insert name="top">Top</ui:insert>
    </div>
    <div id="content" class="center_content">
        <ui:insert name="content">Content</ui:insert>
    </div>
    <div id="bottom">
        <ui:insert name="bottom">Bottom</ui:insert>
    </div>
</h:body>
`
 
     
    