The book begins with three chapters that cover the nuts and bolts of writing servlets and JSPs, deploying servlets and JSPs, naming or registering your servlets, and using the Ant tool.
Next, the book includes some more advanced recipes, such as logging messages, authenticating clients , binding attributes, working with the client request, and creating servlet filters. Chapter 20, and Chapter 21, cover two common and complex web-development tasks with 20 different recipes.
Chapter 22, and Chapter 23 describe custom tags and the JSTL. Chapter 24, discusses the crucial topic of internationalizing your web applications with servlets and JSPs.
For web developers whose web components must interact with EJBs using the Java JNDI, Chapter 25, shows how to configure JNDI in both Tomcat and WebLogic, as well as how to access JNDI objects using both servers.
The book concludes with two chapters that describe different strategies for extracting data from web sites using Java web components. Chapter 26, has recipes on harvesting or "scraping" data from web pages. Chapter 27, describes how to use Google's and Amazon.com's web services APIs.