The file and directory structure of Tomcat is similar to that of JBoss, which we discussed in the previous chapter. In this section, we will quickly go through the directory structure of Tomcat, shown in the following screenshot:
The subdirectories in the Tomcat directory can be explained as follows:
-
bin: This directory contains all of the scripts that are required when a server is initialized, such as startup and shutdown scripts and executables.
-
common: This directory contains common classes that Catalina and other web applications hosted by the developer can use.
-
conf: This directory consists of server XML files and related Document Type Definitions (DTDs) to configure Tomcat.
-
logs: This directory, as the name suggests, stores logs generated by Catalina and applications.
-
server: This directory stores classes that are used solely...