Create the Facelets XHTML files in NetBeans IDE.
In the firstcup project select Web Pages in the left pane in NetBeans IDE.
Select File -> New File.
Select Java Server Faces under Categories, New JSF Page under File Types, and click Next.
Enter greeting under File Name and click Finish.
Repeat the previous steps to create a new Facelets Simple File named response.