Home

 

Web modules

Web modules contain all the components that are part of a specific Web application. These components often include:

HyperText Markup Language (HTML) files

Cascading style sheets (CSS) files

JavaServer Pages (JSP) files

Compiled Java servlet classes

Other compiled Java classes

Image files

Portlets (portal applications)

Web modules are packaged as WAR files with the extension .war. WAR files have a defined directory structure and include a deployment descriptor called web.xml, which contains the configuration information for the Web module. The web.xml is optional if the module only contains JSP files. Each Web module has a defined context root that determines the URL required to access the components present in the Web module.

ibm.com/redbooks