Your First Cup: An Introduction to the Java EE Platform

ProcedureModify the web.xml File

By default, the web.xml deployment descriptor generated by NetBeans 6.7 IDE includes many unnecessary parameters.

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

  2. Expand Context Parameters.

  3. Highlight each context parameter and click Remove.

  4. Click Pages.

  5. Modify Welcome Files to firstcupWeb/greeting.xhtml.

  6. Select File -> Save.