Table of content

   
  Table of Contents
                         
Core Servlets and JavaServer Pages : Volume 1: Core Technologies, 2nd Edition
By Marty  Hall, Larry  Brown
 
Publisher : Prentice Hall PTR
Pub Date : August 26, 2003
ISBN : 0-13-009229-0
Pages : 736
Copyright
      Acknowledgments
        About the Authors
      Introduction
        Who Should Read This Book
        Volume 2
        Distinctive Features
        How This Book Is Organized
        Conventions
        About the Web Site
        Chapter  1.   An Overview of Servlet and JSP Technology
        Section 1.1.   A Servlet's Job
        Section 1.2.   Why Build Web Pages Dynamically?
        Section 1.3.   A Quick Peek at Servlet Code
        Section 1.4.   The Advantages of Servlets Over "Traditional" CGI
        Section 1.5.   The Role of JSP
      Part  I.   Servlet Technology
          Chapter  2.   Server Setup and Configuration
        Section 2.1.   Download and Install the Java Software Development Kit (SDK)
        Section 2.2.   Download a Server for Your Desktop
        Section 2.3.   Configure the Server
        Section 2.4.   Configuring Apache Tomcat
        Section 2.5.   Configuring Macromedia JRun
        Section 2.6.   Configuring Caucho Resin
        Section 2.7.   Set Up Your Development Environment
        Section 2.8.   Test Your Setup
        Section 2.9.   Establish a Simplified Deployment Method
        Section 2.10.   Deployment Directories for Default Web Application: Summary
        Section 2.11.   Web Applications: A Preview
          Chapter  3.   Servlet Basics
        Section 3.1.   Basic Servlet Structure
        Section 3.2.   A Servlet That Generates Plain Text
        Section 3.3.   A Servlet That Generates HTML
        Section 3.4.   Servlet Packaging
        Section 3.5.   Simple HTML-Building Utilities
        Section 3.6.   The Servlet Life Cycle
        Section 3.7.   The SingleThreadModel Interface
        Section 3.8.   Servlet Debugging
          Chapter  4.   Handling the Client Request: Form Data
        Section 4.1.   The Role of Form Data
        Section 4.2.   Reading Form Data from Servlets
        Section 4.3.   Example: Reading Three Parameters
        Section 4.4.   Example: Reading All Parameters
        Section 4.5.   Using Default Values When Parameters Are Missing or Malformed
        Section 4.6.   Filtering Strings for HTML-Specific Characters
        Section 4.7.   Automatically Populating Java Objects from Request Parameters: Form Beans
        Section 4.8.   Redisplaying the Input Form When Parameters Are Missing or Malformed
          Chapter  5.   Handling the Client Request: HTTP Request Headers
        Section 5.1.   Reading Request Headers
        Section 5.2.   Making a Table of All Request Headers
        Section 5.3.   Understanding HTTP 1.1 Request Headers
        Section 5.4.   Sending Compressed Web Pages
        Section 5.5.   Differentiating Among Different Browser Types
        Section 5.6.   Changing the Page According to How the User Got There
        Section 5.7.   Accessing the Standard CGI Variables
          Chapter  6.   Generating the Server Response: HTTP Status Codes
        Section 6.1.   Specifying Status Codes
        Section 6.2.   HTTP 1.1 Status Codes
        Section 6.3.   A Servlet That Redirects Users to Browser-Specific Pages
        Section 6.4.   A Front End to Various Search Engines
          Chapter  7.   Generating the Server Response: HTTP Response Headers
        Section 7.1.   Setting Response Headers from Servlets
        Section 7.2.   Understanding HTTP 1.1 Response Headers
        Section 7.3.   Building Excel Spreadsheets
        Section 7.4.   Persistent Servlet State and Auto-Reloading Pages
        Section 7.5.   Using Servlets to Generate JPEG Images
          Chapter  8.   Handling Cookies
        Section 8.1.   Benefits of Cookies
        Section 8.2.   Some Problems with Cookies
        Section 8.3.   Deleting Cookies
        Section 8.4.   Sending and Receiving Cookies
        Section 8.5.   Using Cookies to Detect First-Time Visitors
        Section 8.6.   Using Cookie Attributes
        Section 8.7.   Differentiating Session Cookies from Persistent Cookies
        Section 8.8.   Basic Cookie Utilities
        Section 8.9.   Putting the Cookie Utilities into Practice
        Section 8.10.   Modifying Cookie Values: Tracking User Access Counts
        Section 8.11.   Using Cookies to Remember User Preferences
          Chapter  9.   Session Tracking
        Section 9.1.   The Need for Session Tracking
        Section 9.2.   Session Tracking Basics
        Section 9.3.   The Session-Tracking API
        Section 9.4.   Browser Sessions vs. Server Sessions
        Section 9.5.   Encoding URLs Sent to the Client
        Section 9.6.   A Servlet That Shows Per-Client Access Counts
        Section 9.7.   Accumulating a List of User Data
        Section 9.8.   An Online Store with a Shopping Cart and Session Tracking
      Part  II.   JSP Technology
          Chapter  10.   Overview of JSP Technology
        Section 10.1.   The Need for JSP
        Section 10.2.   Benefits of JSP
        Section 10.3.   Advantages of JSP Over Competing Technologies
        Section 10.4.   Misconceptions About JSP
        Section 10.5.   Installation of JSP Pages
        Section 10.6.   Basic Syntax
          Chapter  11.   Invoking Java Code with JSP Scripting Elements
        Section 11.1.   Creating Template Text
        Section 11.2.   Invoking Java Code from JSP
        Section 11.3.   Limiting the Amount of Java Code in JSP Pages
        Section 11.4.   Using JSP Expressions
        Section 11.5.   Example: JSP Expressions
        Section 11.6.   Comparing Servlets to JSP Pages
        Section 11.7.   Writing Scriptlets
        Section 11.8.   Scriptlet Example
        Section 11.9.   Using Scriptlets to Make Parts of the JSP Page Conditional
        Section 11.10.   Using Declarations
        Section 11.11.   Declaration Example
        Section 11.12.   Using Predefined Variables
        Section 11.13.   Comparing JSP Expressions, Scriptlets, and Declarations
          Chapter  12.   Controlling the Structure of Generated Servlets: The JSP page Directive
        Section 12.1.   The import Attribute
        Section 12.2.   The contentType and pageEncoding Attributes
        Section 12.3.   Conditionally Generating Excel Spreadsheets
        Section 12.4.   The session Attribute
        Section 12.5.   The isELIgnored Attribute
        Section 12.6.   The buffer and autoFlush Attributes
        Section 12.7.   The info Attribute
        Section 12.8.   The errorPage and isErrorPage Attributes
        Section 12.9.   The isThreadSafe Attribute
        Section 12.10.   The extends Attribute
        Section 12.11.   The language Attribute
        Section 12.12.   XML Syntax for Directives
          Chapter  13.   Including Files and Applets in JSP Pages
        Section 13.1.   Including Pages at Request Time: The jsp:include Action
        Section 13.2.   Including Files at Page Translation Time: The include Directive
        Section 13.3.   Forwarding Requests with jsp:forward
        Section 13.4.   Including Applets for the Java Plug-In
          Chapter  14.   Using JavaBeans Components in JSP Documents
        Section 14.1.   Why Use Beans?
        Section 14.2.   What Are Beans?
        Section 14.3.   Using Beans: Basic Tasks
        Section 14.4.   Example: StringBean
        Section 14.5.   Setting Bean Properties: Advanced Techniques
        Section 14.6.   Sharing Beans
        Section 14.7.   Sharing Beans in Four Different Ways: An Example
          Chapter  15.   Integrating Servlets and JSP: The Model View Controller (MVC) Architecture
        Section 15.1.   Understanding the Need for MVC
        Section 15.2.   Implementing MVC with RequestDispatcher
        Section 15.3.   Summarizing MVC Code
        Section 15.4.   Interpreting Relative URLs in the Destination Page
        Section 15.5.   Applying MVC: Bank Account Balances
        Section 15.6.   Comparing the Three Data-Sharing Approaches
        Section 15.7.   Forwarding Requests from JSP Pages
        Section 15.8.   Including Pages
          Chapter  16.   Simplifying Access to Java Code: The JSP 2.0 Expression Language
        Section 16.1.   Motivating EL Usage
        Section 16.2.   Invoking the Expression Language
        Section 16.3.   Preventing Expression Language Evaluation
        Section 16.4.   Preventing Use of Standard Scripting Elements
        Section 16.5.   Accessing Scoped Variables
        Section 16.6.   Accessing Bean Properties
        Section 16.7.   Accessing Collections
        Section 16.8.   Referencing Implicit Objects
        Section 16.9.   Using Expression Language Operators
        Section 16.10.   Evaluating Expressions Conditionally
        Section 16.11.   Previewing Other Expression Language Capabilities
      Part  III.   Supporting Technology
          Chapter  17.   Accessing Databases with JDBC
        Section 17.1.   Using JDBC in General
        Section 17.2.   Basic JDBC Examples
        Section 17.3.   Simplifying Database Access with JDBC Utilities
        Section 17.4.   Using Prepared Statements
        Section 17.5.   Creating Callable Statements
        Section 17.6.   Using Database Transactions
        Section 17.7.   Mapping Data to Objects by Using ORM Frameworks
          Chapter  18.   Configuring MS Access, MySQL, and Oracle9i
        Section 18.1.   Configuring Microsoft Access for Use with JDBC
        Section 18.2.   Installing and Configuring MySQL
        Section 18.3.   Installing and Configuring Oracle9i Database
        Section 18.4.   Testing Your Database Through a JDBC Connection
        Section 18.5.   Setting Up the music Table
          Chapter  19.   Creating and Processing HTML Forms
        Default Web Application: Tomcat
        Default Web Application: JRun
        Default Web Application: Resin
        Section 19.1.   How HTML Forms Transmit Data
        Section 19.2.   The FORM Element
        Section 19.3.   Text Controls
        Section 19.4.   Push Buttons
        Section 19.5.   Check Boxes and Radio Buttons
        Section 19.6.   Combo Boxes and List Boxes
        Section 19.7.   File Upload Controls
        Section 19.8.   Server-Side Image Maps
        Section 19.9.   Hidden Fields
        Section 19.10.   Groups of Controls
        Section 19.11.   Tab Order Control
        Section 19.12.   A Debugging Web Server
          Appendix  Server Organization and Structure
        Tomcat
        JRun
        Resin


Core Servlets and JavaServer Pages (Vol. 1.Core Technologies)
Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition)
ISBN: 0130092290
EAN: 2147483647
Year: 2002
Pages: 194

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net