In the firstcup project open greeting.xhtml by double-clicking the file name under Web Pages in the left pane.
Replace the <html> tag with the following tag library definitions.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:fc="http://java.sun.com/jsf/composite/components">
The components resource library is referred to by the fc prefix. The JSF Core and HTML Render Kit tag libraries are also used in greeting.xhtml.
Add a title directly after the <html> tag.
<head>
<title>Firstcup Greeting Page</title>
</head>
Select File->Save.
Repeat the previous steps for response.xhtml, using the following tag library definitions and title.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/facelets">
<head>
<title>Response Page</title>
</head>
Select File->Save.