C H A P T E R  9

Image

Tomcat

I’ve been using Tomcat in all the previous chapters to show you examples of servlets, JSP pages, and documents. Now it’s time to talk about Tomcat itself.

Tomcat, an open-source Servlet/JSP server/container from Apache foundation, is essentially three things:

  • A web server
  • An application that executes Java servlets
  • An application that converts JSP pages and documents into Java servlets

In this chapter, I’ll describe the basics of Tomcat’s architecture and its directory structure. I’ll then show you examples of how to do a couple of useful things.

At the moment of writing this chapter, the latest release of Tomcat is ...

Get Beginning JSP, JSF and Tomcat: Java Web Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.