The following table describes subelements for the sun-web-app element. The left column lists the subelement name, the middle column indicates the requirement rule, and the right column describes what the element does.
Table 6–5 sun-web-app Subelements
Element |
Required |
Description |
---|---|---|
sun-web-appsun-web-app |
zero or more |
Maps roles to users or groups in the currently active realm. |
servletservlet |
zero or more |
Specifies a principal name for a servlet, which is used for the run-as role defined in web.xml. |
zero or one |
Specifies session manager, session cookie, and other session-related information. |
|
zero or more |
Maps the absolute JNDI name to the resource-env-ref in the corresponding J2SE XML file. |
|
zero or more |
Maps the absolute JNDI name to the resource-ref in the corresponding J2SE XML file. |
|
zero or one |
Configures caching for web application components. |
|
zero or one |
Specifies classloader configuration information. |
|
zero or one |
Specifies JSP configuration information. |
|
zero or one |
Specifies internationalization settings. |
|
propertyproperty |
zero or more |
Specifies a property, which contains a name and a value. |