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