The Web application elements are as follows:
Defines a Java web application rooted at a given URI within a VS.
The following table describes subelements for the WEBAPP element.
Table 2–27 webapp Subelements
Element |
Required |
Description |
---|---|---|
zero or one |
Contains a text description of this element. |
The following table describes attributes for the WEBAPP element.
Table 2–28 WEBAPP attributes
Attribute |
Default |
Description |
---|---|---|
uri |
empty string |
This is the context path at which the web application is installed (Section 5.4 of the Servlet 2.3 specification). If this attribute is "/" then this web application is designated to be the default web application for the virtual server. The default web application for a virtual server responds to all requests that cannot be resolved to other web applications deployed to the virtual server. Every virtual server has a default web application. |
path |
none |
A fully qualified or relative path to the directory in which the contents of the .war file have been extracted. |
enabled |
true |
This attribute can be used to temporarily disable the web application from servicing requests without removing the contents of the web application (on disk).Legal values are on, off, yes, no, 1, 0, true, false. |