Your First Cup: An Introduction to the Java EE Platform

ProcedureModifying the firstcup Project

By default, NetBeans 6.7 IDE sets up your project to use an earlier version of Facelets. Modify the firstcup project to use the Facelets 2.0 functionality included in Enterprise Server v3.

  1. Right-click the firstcup project in NetBeans 6.7 IDE and select Properties.

  2. Under Categories select Libraries.

  3. Under Compile Time Libraries select Facelets 1.1.14 and select Remove.

  4. Click OK.

  5. Expand the firstcup project and Configuration Files, then double-click faces-config.xml.

  6. Click XML.

  7. Delete the <view-handler> tag:

  8. Select File->Save.