Your First Cup: An Introduction to the Java EE Platform

ProcedureSet the Welcome File in the web.xml Deployment Descriptor

Configure the application to use greeting.xhtml as the welcome file by modifying web.xml

  1. In the firstcup project under Configuration Files double-click web.xml.

  2. Click Pages.

  3. Click Browse under Welcome Files, expand Web Pages, select greeting.xhtml, and click Select File.

  4. Select File -> Save.