In this section, you will learn the structure of the web module.
In Java EE, web components and static files (for example images) are known as web resources. These web resource are putting under a deployable architecture. This smallest deployable unit is called web module.
A web module is related to a web application. A web module has a fixed structure. In the web module architecture, the top most directory is known as application document root. The document root directory contains the XHTML files, client side scripting files(ex. Java Script, JQuery files etc) and static files such as images.
The document root directory contains the WEB-INF directory, which can have given below files and directories :
The given below graphical view of web module will give you a clear idea :
Figure : web module
Liked it! Share this Tutorial