Your First Cup: An Introduction to the Java EE Platform

ProcedureCreating the XHTML Files

Create the skeleton XHTML files in NetBeans 6.7 IDE.

  1. In the firstcup project select Web Pages in the left pane in NetBeans 6.7 IDE.

  2. Select File->New File.

  3. Select Java Server Faces under Categories, Facelets Simple File under File Types, and click Next.

  4. Enter greeting under File Name and click Finish.

  5. Repeat the previous steps to create a new Facelets Simple File named response.