Chapter 2 NetBeans: Understanding the structure of a NetBeans project, and adding a web.xml file.
Download Source