About  |  Contact  |  Site Map  |  Search

Need more information? Shop for books about Servlets at

0. Preface

0.1 About this Document

This document is copyrighted © by Stefan Zeiger. You may make an archival copy for personal use. Apart from that it may not be redistributed in part or whole, in electronical, printed or any other form without the author's prior written consent.

Java is a trademark of Sun Microsystems, Inc. Netscape is a registered trademark of Netscape Communications Corporation. All other trademarks mentioned belong to their respective owners.

The latest version of Servlet Essentials can be found online at You can also download a complete archive, including all of the example Servlets:

Version Format Size Download
Servlet Essentials 1.3.5 zip ~94k
tar + gzip ~74k servlet-essentials-1.3.5.tar.gz

0.2 Changes

The following changes have been made to this document since version 1.0. Only major revisions are listed. Minor revisions (e.g. 1.0 -> 1.0.1 -> 1.0.2) contain only corrections but no new material.

New in Version 1.3
Restructured the whole document. There are new sections "An Application for the Command Pattern" and "Logging", a new Glossary appendix, a new Servlet API Changes appendix and some minor additions to existing chapters. Several typos and HTML errors have been corrected. Most of the visual design is now done with Cascading Style Sheets (CSS1).
New in Version 1.2
Version 1.2 covers the new Servlet API version 2.1. Annotations about the compatibility of the example programs and descriptions with the different versions of the Servlet API have been added. There is a new section titled "Accessing Server Resources".
New in Version 1.1
Apart from some minor corrections and extensions in the existing sections version 1.1 contains a new section on Internationalization. The "Image Servlet" section has been moved to chapter 2. Several HTML errors were corrected in the Java source code which was previously converted to colored HTML by hand. New source code has been converted automatically with JMarkup.

0.3 Style

Text with different meanings is rendered in different styles throughout this document:

  • Normal text is displayed in this style.
  • Source code is displayed in this style.
  • Servlet API version compatibility issues are displayed in this style.
    Features which require version 2.0 or 2.1 of the Servlet API are marked with the [API 2.0] or [API 2.1] logo.
  • Links to explanations of words and abbreviations in the Glossary are displayed in this style: RFC