On the back cover it says "based on the final 2.1 spec" Chapters 8 and 9 are about running and debugging servlets. All the examples are written to the old jsdk 2.0 spec but they purport to be 2.1 Take a look at the update section for this book on the addison-wesley web site.