O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Pure Java Server Pages™

Book Description

Pure JSP gives a very concise conceptual overview of the JavaServer Pages technology and its related components. Once you have a firm foundation with the JSP technology, related topics such as JavaBeans, JDBC and Servlets are covered at a very high level. The book moves on to explain a large number of JSP techniques, which were determined by studying problems faced by JSP users in the professional world. The final section covers the more technical aspects of the JSP technology. Topics include related API's, server configuration, and charts and diagrams related to developing JSP applications.

Table of Contents

  1. Copyright
  2. Acknowledgments
  3. About the Author
  4. Tell Us What You Think!
  5. Introduction
  6. Conceptual Reference
    1. JSP Overview: The Components of a JavaServer Page
      1. The Components of a JavaServer Page
      2. Summary
    2. Java Servlets
      1. Practical Applications for Java Servlets
      2. The Java Servlet Architecture
      3. The Life Cycle of a Servlet
      4. A Basic Servlet
      5. Dissecting the BasicServlet
      6. Summary
    3. JavaBeans and JSP Concepts
      1. Adding JavaBeans to JavaServer Pages
      2. Summary
    4. JDBC and JSP Concepts
      1. Two- and Three-Tier Database Access Models
      2. JDBC Driver Types
      3. JDBC Basics
      4. Using the JDBC in JavaServer Pages
      5. Summary
  7. Techniques Reference
    1. Configuring the JSP Server
      1. Installing the Tomcat Server
      2. Creating the PUREJSP Web Application
      3. Summary
    2. Handling JSP Errors
      1. JSP Translation Time Errors
      2. JSP Request Time Errors
      3. Summary
    3. Using the include Directive
      1. The include Directive
      2. Example: A Standard Title Bar
      3. Summary
    4. JavaServer Pages and Inheritance
      1. The Superclass
      2. The JSP Subclass
      3. Summary
    5. Using the JSP's Implicit Objects
      1. request
      2. response
      3. pageContext
      4. session
      5. application
      6. out
      7. config
      8. page
      9. exception
      10. Summary
    6. Using JSP Standard Actions
      1. <jsp:param>
      2. <jsp:include>
      3. <jsp:forward>
      4. <jsp:plugin>
      5. Summary
    7. JSPs and JavaBean Scope
      1. page
      2. request
      3. session
      4. application
      5. Summary
    8. JSP and HTML Forms
      1. What Is an HTML Form?
      2. Using a JSP to Create an HTML Form
      3. Retrieving Form Data with a JSP
      4. Summary
    9. JSP and a Shopping Cart
      1. Creating a Shopping Cart
      2. Integrating the Shopping Cart
      3. Creating a Shopping Cart JSP
      4. Summary
    10. JSP and a JDBC Connection Pool Bean
      1. Using a JDBC Connection Pool
      2. Summary
    11. JSP and XML
      1. XML and Java
      2. Using XML in a JSP
      3. Summary
    12. JSP Communication with Servlets
      1. A Servlet-Only Application Model
      2. A JSP-Only Solution
      3. A Server-Side Implementation of the MVC
      4. A Server-Side Example Using the MVC
      5. Summary
    13. JSP and JavaMail
      1. Configuring JavaMail
      2. A JavaMail Example
      3. Using JavaMail in a JSP
      4. Summary
  8. Syntax Reference (with UML Diagrams)
    1. The javax.servlet.jsp Package
      1. Interfaces
      2. Classes
      3. Exceptions
    2. The javax.servlet.jsp.tagext Package
      1. Classes
    3. The javax.servlet Package
      1. javax.servlet Interfaces
      2. Classes
      3. Exceptions
    4. The javax.servlet.http Package
      1. Interfaces
      2. Classes
  9. Index