Sun GlassFish Enterprise Server 2.1 Application Deployment Guide

context-root

Contains the web context root for the application or web application. Overrides the corresponding element in the application.xml or web.xml file.

If the parent element is java-web-start-access, this element contains the context root for the Java Web Start enabled application client module. If none is specified, a default is generated; see java-web-start-access.

If you are setting up load balancing, web module context roots must be unique within a server instance. See the Sun GlassFish Enterprise Server 2.1 High Availability Administration Guide for more information about load balancing.


Note –

Some topics in the documentation pertain to features that are available only in domains that are configured to support clusters. Examples of domains that support clusters are domains that are created with the cluster profile or the enterprise profile. For information about profiles, see Usage Profiles in Sun GlassFish Enterprise Server 2.1 Administration Guide.


Superelements

web (sun-application.xml), sun-web-app (sun-web.xml), java-web-start-access (sun-application-client.xml)

Subelements

none - contains data