The glassfish-web.xml visual editor lets you edit the platform-specific web deployment descriptor for the GlassFish application server or Sun Java System Application Server. You open the visual editor by expanding your project's Configuration Files node in the Projects window and double-clicking the glassfish-web.xml file. A Web application only contains a glassfish-web.xml deployment descriptor if its target server is the GlassFish server.
In the General tab of the wizard, you can set the context root, additional classpath, the servlet security provider and configure the class loader for the web application.
In the Module Details section of the General tab you can specify the following properties:
hostname:port/contextRoot/relative_URLs_in_WAR_file
In the Class Loader section you set 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.