You open the Standard Web Project Properties dialog box by right-clicking
any
and choosing Properties.
The Run page
lets you configure options for deploying your project.
In the Run page, you can set the following properties:
Server. Specifies the server to which the web application is deployed.
To register servers, choose Tools > Servers from the main menu.
Java EE Version. Specifies which version of Java EE is to be used.
Context Path. Specifies a way to distinguish resources in one web
application from resources in others that are deployed on the same server
instance. The context of an application determines the URL namespace of the
contents of the web application. When a web application's context property
value is set, you access the web application at http://hostname:port/context/servlet_or_jsp.
For example, with the property value set to /HelloWeb, you access
the web application at http://hostname:port/HelloWeb/index.jsp.
Display Browser on Run. Specifies whether the browser is displayed.
Relative URL. Specifies the URL relative to the context path to run.
For example, if you want a specific servlet to be the entry point to a web
application, specify the servlet's URL-pattern here. The IDE generates a servlet's
URL-pattern in the WEB-INF/web.xml file when you use the New File
(Ctrl-N) wizard to create a servlet.
Deploy on Save. Specifies whether changed files are automatically
redeployed. This option saves you time when you run or debug your application in the IDE.
VM Options. Type options that are used for running main classes or unit tests.