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