Web applications have a defined folder structure.
When you create a web project, the IDE does the following:
$HOME/NetBeansProjects/project-name
directory on a UNIX® or Mac OS system or in the
\Documents and Settings\username\My Documents\NetBeansProjects\project-name
folder on a Microsoft Windows system.
After you create the project, you can view the files in the Projects window or the Files window.
When you import a web project from an earlier version of the IDE, the project is structured according to Sun Java BluePrints guidelines. A web application must also contain a deployment descriptor file (WEB-INF/web.xml), and can contain one or more web components.