Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Reference

- Previous: V

# W

## web-container

Configures the web container.

### Superelements

config

### Subelements

The following table describes subelements for the `web-container` element.

Table 1–132 `web-container` Subelements

Element | Required | Description
--- | --- | ---
session-config | zero or one | Specifies session configuration information for the web container.
property | zero or more | Specifies a property or a variable.

## web-module

Specifies a deployed web module.

### Superelements

applications

### Subelements

The following table describes subelements for the `web-module` element.

Table 1–133 `web-module` Subelements

Element | Required | Description
--- | --- | ---
description | zero or one | Contains a text description of this element.

### Attributes

The following table describes attributes for the `web-module` element.

Table 1–134 `web-module` Attributes

Attribute | Default | Description
--- | --- | ---
`name` | none | The name of the web module.
`context-root` | none | The context root at which the web module is deployed. The context root can be the empty string or just `/`. The context root can start with the `/` character, but doesn’t have to.
`location` | none | A fully qualified or relative path to the directory to which the contents of the `.war` file have been extracted. If relative, it is relative to the following directory: domain-dir`/applications/j2ee-modules/`
`object-type` | `user` | (optional) Defines the type of the resource. Allowed values are: `system-all` - A system resource for all server instances and the domain application server. `system-admin` - A system resource only for the domain application server. `system-instance` - A system resource for all server instances only. `user` - A user resource.
`enabled` | `true` | (optional) Determines whether the web module is enabled.
`directory-deployed` | `false` | (optional) Specifies whether the application has been deployed to a directory.

- Previous: V

- © 2010, Oracle Corporation and/or its affiliates