WebApp
The web-app element is the root of the deployment descriptor fora web application.
Attributes Summary
smallIcon The small-icon element contains the location within the web application of a file containing a small (16x16 pixel) icon image. largeIcon The large-icon element contains the location within the web application of a file containing a large (32x32 pixel) icon image. description The description element is used to provide descriptive text about the parent element. distributable The distributable element, by its presence in a web application deployment descriptor, indicates that this web application is programmed appropriately to be deployed into a distributed servlet container displayName The display-name element contains a short name that is intended to be displayed by GUI tools. contexts errorPages fileList tagLibs constraints resourceRefs ejbRefs envEntries loginConfig mimeMappings sessionConfig servletMappings servlets securityRoles filters filterMappings Filter mappings defined for the web app listeners The listeners collection contains deployment properties for a web application listener beans in the web app. ejbLocalRefs A collection of references to enterprise bean's local home useable by the web application. resourceEnvRefs The resource-env-ref element contains a declaration of a servlet's reference to an administered object associated with a resource in servlet's environment.
Attribute Details
smallIcon
The small-icon element contains the location within the web application of a file containing a small (16x16 pixel) icon image.
Data type: String
Default value: unspecified
largeIcon
The large-icon element contains the location within the web application of a file containing a large (32x32 pixel) icon image.
Data type: String
Default value: unspecified
description
The description element is used to provide descriptive text about the parent element.
Data type: String
Default value: unspecified
distributable
The distributable element, by its presence in a web application deployment descriptor, indicates that this web application is programmed appropriately to be deployed into a distributed servlet container
Data type: Boolean
Default value: unspecified
displayName
The display-name element contains a short name that is intended to be displayed by GUI tools.
Data type: String
Default value: unspecified
contexts
Data type: ContextParam
errorPages
Data type: ErrorPage
fileList
Data type: WelcomeFileList
tagLibs
Data type: TagLibRef
constraints
Data type: SecurityConstraint
resourceRefs
Data type: ResourceRef
ejbRefs
Data type: EjbRef
envEntries
Data type: EnvEntry
loginConfig
Data type: LoginConfig
mimeMappings
Data type: MimeMapping
sessionConfig
Data type: SessionConfig
servletMappings
Data type: ServletMapping
servlets
Data type: Servlet
securityRoles
Data type: SecurityRole
filters
Data type: Filter
filterMappings
Filter mappings defined for the web app
Data type: FilterMapping
listeners
The listeners collection contains deployment properties for a web application listener beans in the web app.
Data type: Listener
ejbLocalRefs
A collection of references to enterprise bean's local home useable by the web application.
Data type: EJBLocalRef
resourceEnvRefs
The resource-env-ref element contains a declaration of a servlet's reference to an administered object associated with a resource in servlet's environment. It consists of an optional description, the resource environment reference name, and an indication of the resource environment reference type expected by servlet code.Example:<resource-env-ref> <resource-env-ref-name>jms/StockQueue</resource-env-ref-name> <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type></resource-env-ref>
Data type: ResourceEnvRef