Core Servlets and JavaServer Pages

Second Edition

Volume 1: Core Technologies
by Marty Hall and Larry Brown

The complete book is now available online for free access in PDF. See There is also a free online servlet and JSP tutorial based on the book. The tutorial has complete source code that has been updated to the latest servlet and JSP versions, uses Eclipse, and includes exercises and exercise solutions. See Finally, many (most?) new Web apps should consider using JSF 2 as a higher-level alternative to servlets and JSP. See the JSF 2 tutorial series.