O'Reilly logo

Apache Tomcat 7 by Aleksa Vukotic, James Goodwill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required