C H A P T E R  2

Deploying Web Applications to Tomcat

Now that Tomcat is installed and running, let’s look at the steps necessary to deploy a web application. To do this, we need to first examine the directory structure of Tomcat, and then move on to actually deploying a web application.

In this chapter, we:

  • Describe the Tomcat directory structure
  • Introduce the structure of Java web applications that can be deployed to Tomcat
  • Manually deploy web applications to Tomcat
  • Configure Tomcat’s hosts and contexts components

Use Eclipse IDE to deploy sample web application to Tomcat

The Tomcat Directory Structure

Before you can start creating your own web applications, you need to be familiar with the Tomcat directory structure.

The Tomcat installation ...

Get Apache Tomcat 7 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.