Use to specify the web application server and other settings when creating a new standard project from an existing web application source folder.
In the Server and Settings page, you have to set the following properties:
Element | Description |
---|---|
Add to Enterprise Application |
Lets you add the web project to any open enterprise application project. If you do not add it here, you can do so later by expanding the enterprise application project node and right-clicking the Java EE Modules node. |
Server |
Specifies the web application's server. Only servers that are registered with the IDE are available to be selected here.
Note: The default installation of the IDE's Java bundle includes the Glassfish application server, and the Tomcat web server. Servers included in the installation are automatically registered in the IDE. |
Java EE Version |
Specifies the Java EE level against which your web application will run. Note that Java EE 7 applications require a certified Java EE 7 server, such as GlassFish Server 4. |
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/some_file.some_extension . For example, with the property value set to /HelloWeb , you could access the application's entry point index.jsp file at: http://hostname:port/HelloWeb/index.jsp . |
Note: You must click Next to specify the location of your web pages, Java sources and libraries.
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |