Application Directory

Creating a Web-Application Root Directory

A Web-application directory contains the pages, Java classes and configuration data used by the application.

The following elements must appear in the directory of an application called myApp:

Java classes used by the application, such as Servlets and external libraries, should be placed in the following locations:

It is conventional to put Java source files in the directory myApp/WEB-INF/src/

The following figure illustrates the structure of the application directory:

directory structure