Web Application Archives
Web clients are packaged in Web application archives. In addition to Web components, a Web application archive usually contains other files, including the following:
Server-side utility classes (database beans, shopping carts, and so on). Often these classes conform to the JavaBeans component architecture.
Static Web content (HTML, image, and sound files, and so on).
Client-side classes (applets and utility classes).
Web components and static Web content files are called Web resources.
A WAR has a specific directory structure. The top-level directory of a WAR is the document root of the application. The document root is where JSP pages, client-side classes and archives, and static Web resources are stored.
The document ...
Get J2EE™ Tutorial, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.