Home   FAQs   New Arrivals   Specials   Pricing & Shipping   Location   Corporate Services   Why Choose Bookware?  
Call our store: 9955 5567 (from within Sydney) or 1800 734 567 (from outside Sydney)
 View Cart   Check Out   
Browse by Subject
 TAFE Accounting
 TAFE I.T./Computing
 TAFE - Other
 Windows 8
 Adobe CS6
 CCNA 2012
 CCNP 2012
 Web Design
 Project Management
 Mobile Devices
 Windows Server 2012
 SQL Server 2012
Economics and Business
 Business Information Systems
 Human Resources

JavaServer Pages, 2nd Edition (For the 3rd Edition, please refer to 0596005636)

by: Hans Bergsten

Notify me when in stock

On-line Price: $84.00 (includes GST)

Paperback package 684

20%Off Retail Price

You save: $21.00

This item is available to backorder. Usually ships within 7 - 10 working days

Retail Price: $105.00

Publisher: O'REILLY,Aug-2002

Category: JAVA Level: I/A

ISBN: 059600317X
ISBN13: 9780596003173

Add to Shopping Cart

Filled with useful examples and the depth, clarity, and attention to detail that made the first edition so popular with web developers, JavaServer Pages, 2nd Edition is completely revised and updated to cover the substantial changes in the 1.2 version of the JSP specifications, and includes coverage of the new JSTL Tag libraries-an eagerly anticipated standard set of JSP elements for the tasks needed in most JSP applications, as well as thorough coverage of Custom Tag Libraries.

        [Full Description]

Since its inception in 1999, Enterprise Java has taken the Java programming community by storm--developers have realized its potential for building distributed applications. Today, JavaServer Pages (JSP) continues to harmonize how web designers and programmers create dynamic

web sites. JSP builds on the popular Java servlet technology and makes it easier to develop dynamic web applications--even if you're not a hard-core programmer.

  JavaServer Pages, 2nd Edition is completely revised and updated to cover the substantial changes in the 1.2 version of the JSP specification, and also includes detailed coverage of the new JSP Standard Tag Library (JSTL)--an eagerly anticipated specification of a set of JSP elements for the tasks needed in most JSP applications. This book starts off by illustrating how JSP capitalizes on the power of Java servlets to create effective, portable web applications. It shows how to get started using the Apache Tomcat server, and provides detailed coverage of JSP syntax and features, error handling and debugging, authentication and personalization, and how to use JSTL for database access, XML processing, and internationalization.

  JavaServer Pages recognizes the different needs of the two groups of professionals who want to learn JSP: page authors interested in using JSP elements in web pages, and programmers concerned with learning the JSP API and using JSP effectively in an enterprise application. If you're in the latter group, this book also teaches you such advanced topics as integrating servlets and JavaBeans with JSP, using the popular Apache Struts MVC framework to illustrate how it's done. Finally, the author presents how to develop custom tag libraries, using realistic examples that you can use as a springboard for your own JSP libraries.

          'This is a complete, comprehensive, and most of all, practical book. The author excels at sharing his vast expertise so web developers can make the most out of JavaServer Pages and related web technologies.'

  --Pierre Delisle, JSP Standard Tag Library Specification Lead

          Related O'Reilly Titles:

Java Servlet Programming, 2nd Edition


Table of Contents


  Part I. JSP Application Basics

  1. Introducing JavaServer Pages

          What Is JavaServer Pages?

          Why Use JSP?

          What You Need to Get Started

  2. HTTP and Servlet Basics

          The HTTP Request/Response Model


  3. JSP Overview

          The Problem with Servlets

          The Anatomy of a JSP Page

          JSP Processing

          JSP Application Design with MVC

  4. Setting Up the JSP Environment

          Installing the Java Software Development Kit

          Installing the Tomcat Server

          Testing Tomcat

          Installing the Book Examples

          Example Web Application Overview

  Part II. JSP Application Development

  5. Generating Dynamic Content

          Creating a JSP Page

          Installing a JSP Page

          Running a JSP Page

          Using JSP Directive Elements

          Using Template Text

          Using JSP Action Elements

  6. Using JavaBeans Components in JSP Pages

          What Is a Bean?

          Declaring a Bean in a JSP Page

          Reading Bean Properties

          Setting Bean Properties

  7. Using Custom Tag Libraries and the JSP Standard Tag Library

          What Is a Custom Tag Library?

          Installing a Custom Tag Library

          Declaring a Custom Tag Library

          Using Actions from a Tag Library

  8. Processing Input and Output

          Reading Request Parameter Values

          Validating User Input

          Formatting HTML Output

  9. Error Handling and Debugging

          Dealing with Syntax Errors

          Debugging a JSP Application

          Dealing with Runtime Errors

  10. Sharing Data Between JSP Pages, Requests, and Users

          Passing Control and Data Between Pages

          Sharing Session and Application Data

          Online Shopping

          Memory Usage Considerations

  11. Accessing a Database

          Accessing a Database From a JSP Page

          Validating Complex Input Without a Bean

          Using Transactions

          Application-Specific Database Actions

  12. Authentication and Personalization

          Container-Provided Authentication

          Application-Controlled Authentication

          Other Security Concerns

  13. Internationalization

          How Java Supports Internationalization and Localization

          Generating Localized Output

          A Brief History of Bits

          Handling Localized Input

  14. Working with XML Data

          Generating an XML Response

          Transforming XML into HTML

          Transforming XML into a Device-Dependent Format

          Processing XML Data

  15. Using Scripting Elements

          Using page Directive Scripting Attributes

          Implicit JSP Scripting Objects

          Using Scriptlets

          Using Expressions

          Using Declarations

          Mixing Action Elements and Scripting Elements

          Dealing with Scripting Syntax Errors

  16. Bits And Pieces


          Including Page Fragments

          Mixing Client-Side and Server-Side Code

          Precompiling JSP Pages

          Preventing Caching of JSP Pages

          Writing JSP Pages as XML Documents

          How URIs Are Interpreted

  Part III. JSP in J2EE and JSP Component Development

  17. Web Application Models

          The Java 2 Enterprise Edition Model

          The MVC Design Model


  18. Combining JSP and Servlets

          Servlets, Filters, and Listeners

          Picking the Right Component Type for Each Task

          Initializing Shared Resources Using a Listener

          Access Control Using a Filter

          Centralized Request Processing Using a Servlet

          Using a Common JSP Error Page

  19. Developing JavaBeans Components for JSP

          Beans as JSP Components

          JSP Bean Examples

          Unexpected Behavior

  20. Developing Custom Tag Libraries

          Tag Extension Basics

          Developing a Simple Action

          Developing an Iterating Action

          Processing the Action Body

          Handling Exceptions

          The Tag-Handler Life Cycle and What It Means to You

          Creating the Tag Library Descriptor

          Packaging and Installing a Tag Library

  21. Advanced Custom Tag Library Features

          Developing Cooperating Actions

          Validating Syntax

          Using a Listener in a Tag Library

          Dynamic Attribute Values and Types

  22. Integrating Custom Code with JSTL

          Using the Expression Language in Custom Actions

          Setting and Using Configuration Variables

          Integrating Custom Conditional Actions

          Integrating Custom Iteration Actions

          Integrating Custom I18N Actions

          Integrating Custom Database Actions

          Using JSTL Tag Library Validators

  23. Database Access Strategies

          JDBC Basics

          Using Connections and Connection Pools

          Making a Connection Pool Available to Application Components

          Using a Generic Database Bean

          Developing Application-Specific Database Components

  Part IV. Appendixes

  A. JSP Elements Reference

  B. JSTL Actions and API Reference

  C. JSTL Expression Language Reference

  D. JSP API Reference

  E. Book Example Custom Actions and API Reference

  F. Web Application Structure and Deployment Descriptor Reference