The new Second Edition of the industrys definitive JSP and Servlets guide has been thoroughly updated to reflect the latest Servlet 2.4 and JSP 2.0 features and techniques. 'Core Servlets and JavaServer Pages', Second Edition delivers a unified treatment that teaches students when to use each technology and exactly how to use them together. Part I thoroughly covers the Servlet 2.4 specification, beginning with server configuration, basic syntax, the servlet lifecycle, form data, HTTP 1.1, cookies, and session tracking. Students will master a wide array of advanced techniques, including compressing Web content, incrementally updating results, dynamically generating images, and creating shopping carts. Part II focuses on JSP 2.0, covering both 'classic' JSP scripting elements and the new JSP 2.0 expression language. Students learn how to control content types, designate error pages, include files, and integrate JavaBeans components; then move on to sharing beans, generating Excel spreadsheets, and managing concurrency. Next, the authors cover the use of HTML forms and JDBC database access with servlets and JSP, starting with basic database queries and updates and moving on to advanced parameterized queries, stored procedures, and transaction control. Coverage includes: architectural strategies for integrating servlets and JSP; best practices for invoking Java code from JSP pages; planning for missing and malformed data; and applying the Model-View-Controller (MVC) architecture. Also included: practical guides to Apache Tomcat, Macromedia JRun, and Caucho Resin, as well as guidance on integration with MySQL, Oracle 9i, Microsoft Access. Note: the companion Volume II will cover filters, custom tag libraries, database connection pooling, Web application security, JSTL, Apache Struts, JavaServer Faces (JSF), and other advanced topics.