Is this what you are looking for?

HTH,
Aaron Bartell

<%@ page language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>


<html>
<head>
<[EMAIL PROTECTED] file="/inc/head.inc" %>
</head>
<body>
<f:view>
<f:loadBundle basename="com.mowyourlawn.uitext.controls" var="controls"/>
<%@ include file="/inc/header.jsp" %>


<!-- Page content goes here -->

<%@ include file="/inc/footer.jsp" %>
<h:messages styleClass="error"/> </f:view>


</body> </html>


Csík Norbert wrote:

Hi!

I would like to include a default header and a default footer automatically to my generated JSF pages. Just like include-prelude and include-coda does in the web.xml file for JSP pages. I tried this one, but didn't worked.

How can I include these pages automatically in JSF?

Reply via email to