Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This element can be used to provide the web context path of the deployed web application, which appears in the URL used to address the application on a Geronimo server. As an example, if the context root is specified as <context-root>web-app-test</context-root> then the URL to the application would start with look like http://host:8080/web-app-test/*Image Modified. If the context root is specified as *<context-root>/</context-root> that would become the default web application for the server. value of / would be used to make this the default web application for the
server.
The <context-root> element is optional, but if it is not specified the context root of the web application will default to the WAR name (without the extension). If the web application is packaged in an EAR, then the context root can be specified
in the EAR's application.xml deployment descriptor. If the web applications
is instead deployed as standalone WAR, then this element is necessary unless you
want the context root to default to the WAR name.

<work-dir>

The <work-dir> XML element uses the Geronimo default namespace for a geronimo-web.xml file that is described here:

...