Home > Store

Core Servlets and JavaServer Pages: Volume 1: Core Technologies, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Core Servlets and JavaServer Pages: Volume 1: Core Technologies, 2nd Edition


  • Your Price: $55.99
  • List Price: $69.99
  • Usually ships in 24 hours.



  • NEW - Fully updated for the Servlets 2.4 and JSP 2.0 standards.
    • Helps students master the latest and most powerful versions of servlet and JSP technology and build server-side applications and services that are in exceptionally high demand.

  • NEW - Online access to all source code, available free for unrestricted use.
    • Gives students an extensive library of high-quality sample code for solving even the most complex problems with servlets and JSP.

  • NEW - Practical, step-by-step guides for using three leading Servlet/JSP engines—Apache Tomcat, Macromedia JRun, and Caucho Resin.
    • Gives students practical expertise deploying servlets and JSPs on engines that are widely used in real business environments.

  • Extensive, robust code samples—Contains hundreds of completely portable, fully documented, industrial-strength examples.
    • Demonstrates complex Servlet/JSP techniques the most effective way possible: through the use of working code examples.

  • Step-by-step database integration guidance—Walks step-by-step through using servlets and JSPs with data stored in MySQL, Oracle 9i, Microsoft Access databases.
    • Teaches students everything they need to access data using several of todays leading commercial and open source database platforms.

  • Detailed architectural coverage—Covers a wide variety of architectural strategies and best practices, with detailed coverage of the Model-View-Controller (MVC) architecture.
    • Helps students master the crucial architectural and design tasks associated with building effective Web-based applications and services.

  • By Marty Hall, the fields leading expert—Lead author has helped thousands of students master servlets and JavaServer Pages technologies through books, videos, multimedia training courses, and live courses and seminars.
    • Gives students confidence that they are receiving information that is thorough, accurate, clear, and useful—and reflects the challenges they will actually face.


  • Copyright 2004
  • Dimensions: 7" x 9-1/4"
  • Pages: 736
  • Edition: 2nd
  • Book
  • ISBN-10: 0-13-009229-0
  • ISBN-13: 978-0-13-009229-8

The J2EE(TM) Platform has become the technology of choice for developing professional e-commerce applications, interactive Web sites, and Web-enabled applications and services. Servlet and JSP(TM) technology is the foundation of this platform: it provides the link between Web clients and server-side applications. In this 2nd edition of the worldwide bestseller, the authors show you how to apply the latest servlet and JSP capabilities. Unlike other books that treat servlet or JSP technology in isolation, Core Servlets and JavaServer Pages provides a unified treatment, showing you when servlet technology is best, when the JSP approach is preferred, and when (and how) servlets and JSP should work together.

Part I provides exhaustive coverage of the servlet 2.4 specification. It starts with server configuration, basic syntax, the servlet life cycle, and use of form data. It moves on to applying HTTP 1.1, cookies, and session tracking. Advanced topics include compressing Web content, incrementally updating results, dynamically generating images, and creating shopping carts.

Part II gives an in-depth guide to JSP 2.0. It covers both the "classic" JSP scripting elements and the new JSP 2.0 expression language. It shows how to control the content type, designate error pages, include files, and integrate JavaBeans components. Advanced topics include sharing beans, generating Excel spreadsheets, and dealing with concurrency.

Part III covers two key supporting technologies: HTML forms and database access with JDBC(TM). It explains every standard HTML input element and shows how to use appropriate JDBC drivers, perform database queries, process results, and perform updates. Advanced topics include parameterized queries, stored procedures, and transaction control.

Design strategies include ways to integrate servlet and JSP technology, best practices for invoking Java code from JSP pages, plans for dealing with missing and malformed data, and application of the MVC architecture.

Handy guides walk you through use of three popular servlet and JSP engines (Apache Tomcat, Macromedia JRun, and Caucho Resin) and some of the most widely used database systems (MySQL, Oracle9i, Microsoft Access).

Volume 2 of this book covers advanced topics: filters, custom tag libraries, database connection pooling, Web application security, the JSP Standard Tag Library (JSTL), Apache Struts, JavaServer Faces (JSF), JAXB, and more.

  • The same clear step-by-step explanations that made the first edition so popular
  • Completely updated for the latest standards: servlets 2.4 and JSP 2.0
  • Hundreds of completely portable, fully documented,industrial-strength examples

Detailed treatment of Apache Tomcat, Macromedia JRun, and Caucho Resin Online access to all source code, available free for unrestricted use at the author's www.coreservlets.com web site.

Sample Content

Downloadable Sample Chapter

Download the Sample Chapter related to this title.

Table of Contents

I. Servlet Technology

 1. An Overview of Servlet and JSP Technology.
 2. Server Setup and Configuration.
 3. Servlet Basics.
 4. Handling the Client Request: Form Data.
 5. Handling the Client Request: HTTP Request Headers.
 6. Generating the Server Response: HTTP Status Codes.
 7. Generating the Server Response: HTTP Response Headers.
 8. Handling Cookies.
 9. Session Tracking.

II. JSP Technology.

10. Overview of JSP Technology.
11. Invoking Java Technology Code with JSP Scripting Elements.
12. Controlling the Structure of Generated Servlets: The JSP Page Directive.
13. Including Files and Applets in JSP Pages.
14. Using JavaBeans Components in JSP Documents.
15. Integrating Servlets and JSP: the Model View Controller (MVC) Architecture.
16. Simplifying Access to Java Code: The JSP 2.0 Expression Language.

III. Supporting Technology.

17. Accessing Databases with JDBC.
18. Configuring Microsoft Access, MySql, and Oracle9i.
19. Creating and Processing HTML Forms.
Appendix. Server Organization and Structure.


Download the Index file related to this title.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership