Chapter 2. FIRST SERVLETS
Topics in This Chapter
The basic structure of servlets
A simple servlet that generates plain text
The process of compiling, installing, and invoking servlets
A servlet that generates HTML
Some utilities to help build HTML
The life cycle of servlets
An example of reading initialization parameters
An example that uses initialization and page modification dates
Servlet debugging strategies
A tool for interactively talking to servlets
The previous chapter showed you how to install the software you need and how to set up your development environment. Now you want to really write a few servlets. Good. This chapter shows you how, outlining the structure that almost all servlets follow, walking you through the steps required to compile ...
Get Core Servlets and JavaServer Pages™ 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.