Creating our first web application
NetBeans provides a web category for web applications. To create a new web
application, we need to create a new project; click on File | New Project (or press
ctrl+shift+N simultaneously), then select Java Web as the project category, and
Web Application under Projects .
After clicking Next> , we need to select a project name for our project. As we type
the name for our project, the project location, project folder, and context path are
updated automatically. Although we can override default values for these fields if
we wish, it is always a good idea to use them since this makes our projects more
maintainable as developers familiar with NetBeans defaults will know the values for
these fields without having to look them up.