# glassfish-web.xml Visual Editor: General

Use to set the context root, additional classpath, the servlet security provider, and configure the class loader for the web application.

Element | Description
--- | ---
Module | Sets the properties for the module.
Context Root | Select the platform folder. The context root is the base directory of the WAR file. The Servlet Context uses the context root to resolve the path to the WAR file. The URL to a JSP page or servlet takes this form: `hostname:port/contextRoot/relative_URLs_in_WAR_file`
Error Url | Specifies a redirect URL in case of an error.
HTTP Servlet Security Provider | Specifies the security provider.
Class Loader | Sets the properties for a class loader configuration. Use the class loader settings to specify additional classes that are to be loaded by the Web module.
Enable Class Loader Configuration | When selected, the Web module loads the additional classes in the Extra Class Path field.
Extra Class Path | Specifies the classpath for the additional classes to be loaded by the Web module.
Dynamic Reload Interval | Specifies the interval (in seconds) after which the deployed application is checked for modifications and reloaded if necessary.
Delegate Class Loader | When selected, the Web module follows the standard classloader delegation model and delegates to its parent classloader first before looking in the local classloader. If not selected, the Web module follows the delegation model specified in the Servlet specification and looks in its classloader before looking in the parent classloader.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

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