Modify the web.xml File
By default, the web.xml deployment descriptor generated
by NetBeans 6.7 IDE includes many unnecessary parameters.
- 
In the firstcup project under Configuration
Files double-click web.xml.
 
- 
Expand Context Parameters.
 
- 
Highlight each context parameter and click Remove.
 
- 
Click Pages.
 
- 
Modify Welcome Files to firstcupWeb/greeting.xhtml.
 
- 
Select File -> Save.