O'Reilly logo

Advanced Java® EE Development with WildFly® by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating header and footer

In this section, we will create header and footer JSF pages. Similar to creating the BasicTemplate.xhtml Facelet template, create header.xhtml and footer.xhtml in the WEB-INF/templates folder. For example, for the header JSF page, specify header.xhtml, as shown here:

Creating header and footer

The difference in creating the header and footer pages that in Select XHTML Template, select the Blank JSF Page template shown as follows:

Creating header and footer

We will include graphic JPEG files for the header and footer sections. In the header.xhtml, include a JPEG file using the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required