Chapter 21. Tomcat and Apache

This hour gives an introduction to the Tomcat Java servlet and JavaServer Pages (JSPs) container reference implementation. Servlets and JSPs are used to run Java-based Web applications.

In this hour, you will learn

  • How server-side Java works

  • How to configure Tomcat to work with Apache

  • How to run basic servlets and JSPs using Tomcat

A Little History of Java Servlets

Although some Web content is static, in that it doesn't change much if at all from one request to another, there are few software applications under development these days that aren't Web-enabled. The earliest Web applications were common gateway interface (CGI) programs whose application logic was typically coded in a scripting language, as described in Hour ...

Get Sams Teach Yourself Apache 2 in 24 Hours now with O’Reilly online learning.

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