"use strict"; // Enable strict mode (function() { var thisScript = document.currentScript; if (!thisScript) { // Workaround for IE <= 11 var scripts = document.getElementsByTagName("script"); thisScript = scripts[scripts.length - 1]; } document.addEventListener("DOMContentLoaded", (function() { var commentsDiv = document.getElementById("comments_thread"); var commentsShortname = "tomcat"; var commentsIdentifier = "https://tomcat.apache.org/" + thisScript.getAttribute("data-comments-identifier") + ".html"; (function(w, d) { if (w.location.hostname.toLowerCase() == "tomcat.apache.org") { var s = d.createElement("script"); s.type = "application/javascript"; s.async = true; s.src = "https://comments.apache.org/show_comments.lua?site=" + encodeURIComponent(commentsShortname) + "&page=" + encodeURIComponent(commentsIdentifier); d.head.appendChild(s); } else { commentsDiv.appendChild(d.createTextNode("Comments are disabled for this page at the moment.")); } })(window, document); }), false); })();
Version 9.0.12,

Table of Contents

Preface

This manual includes contributions from many members of the Tomcat Project developer community. The following authors have provided significant content:

  • Craig R. McClanahan (craigmcc@apache.org)
  • Table of Contents

    The information presented is divided into the following sections:

  • Introduction - Briefly describes the information covered here, with links and references to other sources of information.
  • Installation - Covers acquiring and installing the required software components to use Tomcat for web application development.
  • Deployment Organization - Discusses the standard directory layout for a web application (defined in the Servlet API Specification), the Web Application Deployment Descriptor, and options for integration with Tomcat in your development environment.
  • Source Organization - Describes a useful approach to organizing the source code directories for your project, and introduces the build.xml used by Ant to manage compilation.
  • Development Processes - Provides brief descriptions of typical development processes utilizing the recommended deployment and source organizations.
  • Example Application - This directory contains a very simple, but functionally complete, "Hello, World" application built according to the principles described in this manual. You can use this application to practice using the described techniques.
  • Comments

    Notice: This comments section collects your suggestions on improving documentation for Apache Tomcat.

    If you have trouble and need help, read Find Help page and ask your question on the tomcat-users mailing list. Do not ask such questions here. This is not a Q&A section.

    The Apache Comments System is explained here. Comments may be removed by our moderators if they are either implemented or considered invalid/off-topic.