When you create a web project, the IDE does the following:
Displays the new project in the
If the Set as Main Project checkbox was selected in the New Project wizard, the new project becomes the main project. If necessary, you can change the
main project.
Opens a page for you to edit.
Puts all the files in the $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.
Note: You can also specify where the file are located.
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.
You can add a framework to a web application project after creating it. To do so, choose Tools > Libraries to access the Library Manager.