Tomcat Directory Structure
[ Home ] [ Up ] [ HTTP ] [ A Simple Java Web Server ] [ CGI ] [ Java Servlets ] [ Apache Tomcat ] [ Tomcat Directory Structure ] [ Creating a Web Application ] [ Web Application Directory Structure ] [ What's a Servlet? ] [ Generating Other Content ] [ The Servlet Life Cycle ] [ Servlets & Form Data ] [ Request Headers ] [ CGI Variables ] [ Redirection ]

 

 

Once Tomcat has been installed, you will see a directory structure something like:

(This one was installed with my NetBeans installation.)

The typical directory hierarchy of a Tomcat installation consists of the following:

  • bin - startup, shutdown and other scripts and executables
  • common - common classes that Catalina and web applications can use
  • conf - XML files and related DTDs to configure Tomcat
  • logs - Catalina and application logs
  • server - classes used only by Catalina
  • shared - classes shared by all web applications
  • webapps - directory containing the web applications
  • work - temporary storage for files and directories

However, alternative configurations are possible.

Note: Tomcat's servlet container was redesigned as Catalina in Tomcat version 4.x.

 

The page was last updated February 19, 2008