# Standard Web Project Properties Dialog Box: Run

Use to configure options for deploying your project, by setting the following properties.

Property | Description
--- | ---
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`.
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.
Browser | Select the browser that will launch when you run the application.
Display Browser on Run | Specifies whether the browser is displayed.
Deploy on Save | When selected, when you save files the Java files are automatically compiled, non-Java files are copied to the build directory and the files are redeployed to the server. Enabling Deploy on Save automatically enables the Copy Static Resources on Save and Compile on Save options. The Deploy on Save option saves you time when you run or debug your application in the IDE and ensures that all new and modified files in the build directory are automatically redeployed to the server.
VM Options | Type options that are used for running main classes or unit tests.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.