Skip to content

JavaServer Pages

Spend $50 to get a free DVD!

ISBN-10: 0596005636

ISBN-13: 9780596005634

Edition: 3rd 2003

Authors: Hans Bergsten

List price: $44.95
Blue ribbon 30 day, 100% satisfaction guarantee!
Rent eBooks
Buy eBooks
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

JavaServer Pages (JSP) has built a huge following since the release of JSP 1.0 in 1999, providing Enterprise Java developers with a flexible tool for the development of dynamic web sites and web applications. While new point releases over the years, along with the introduction of the JSP Standard Tag Library (JSTL), have incrementally improved the rough areas of the first version of the JSP specification, JSP 2.0 takes this technology to new heights. "JavaServer Pages, Third Edition, is completely revised and updated to cover the JSP 2.0 and JSTL 1.1 specifications. It includes detailed coverage of the Expression Language (EL) incorporated into JSP 2.0, the JSTL 1.1 tag libraries and the…    
Customers also bought

Book details

List price: $44.95
Edition: 3rd
Copyright year: 2003
Publisher: O'Reilly Media, Incorporated
Publication date: 12/21/2003
Binding: Paperback
Pages: 768
Size: 7.00" wide x 9.00" long x 1.50" tall
Weight: 2.332
Language: English

Hans Bergsten is the founder of Gefion Software, a company focused on Java services and products based on the J2EE technlogies. Hans has been an active participant in the working groups for both the servlet and JSP specifications from the time they were formed. He also contributes to other related JCP specifications, such as JSP Standard Tag Libraries (JSTL), and helped get the development of the Apache Tomcat reference implementation for servlet and JSP started as one of the initial members of the Apache Jakarta Project Management Committee.

Preface
JSP Application Basics
Introducing JavaServer Pages
What Is JavaServer Pages?
Why Use JSP?
What You Need to Get Started
HTTP and Servlet Basics
The HTTP Request/Response Model
Servlets
JSP Overview
The Problem with Servlets
The Anatomy of a JSP Page
JSP Processing
JSP Application Design with MVC
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
JSP Application Development
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
Using JavaBeans Components in JSP Pages
What Is a Bean?
Declaring a Bean in a JSP Page
Reading Bean Properties
Setting Bean Properties
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
Processing Input and Output
Reading Request Parameter Values
Validating User Input
Formatting HTML Output
Error Handling and Debugging
Dealing with Syntax Errors
Debugging a JSP Application
Dealing with Runtime Errors
Sharing Data Between JSP Pages, Requests, and Users
Passing Control and Data Between Pages
Sharing Session and Application Data
Online Shopping
Memory Usage Considerations
Developing Custom Tag Libraries as Tag Files
Creating and Using a Tag File
Accessing Attribute Values
Processing the Action Body
Processing Fragment Attributes
Exposing Data to the Calling Page Through Variables
Aborting the Page Processing
Packaging Tag Files for Easy Reuse
Accessing a Database
Accessing a Database from a JSP Page
Validating Complex Input Without a Bean
Using Transactions
Application-Specific Database Actions
Authentication and Personalization
Container-Provided Authentication
Application-Controlled Authentication
Other Security Concerns
Internationalization
How Java Supports Internationalization and Localization
Generating Localized Output
A Brief History of Bits
Handling Localized Input
Working with XML Data
Generating an XML Response
Transforming XML into HTML
Transforming XML into a Device-Dependent Format
Processing XML Data
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
Bits and Pieces
Buffering
Including Page Segments
Global Configuration Options
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
JSP in J2EE and JSP Component Development
Web Application Models
The Java 2 Enterprise Edition Model
The MVC Design Model
Scalability
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
Developing JavaBeans Components for JSP
Beans as JSP Components
JSP Bean Examples
Unexpected [left angle bracket]jsp:setProperty[right angle bracket] Behavior
Developing Custom Tag Libraries Using Java
Developing Simple Tag Handlers
Developing Classic Tag Handlers
Developing Tag Library Functions
Creating the Tag Library Descriptor
Packaging and Installing a Tag Library
Advanced Custom Tag Library Features
Developing Cooperating Actions
Validating Syntax
Using a Listener in a Tag Library
Dynamic Attribute Values and Types
Integrating Custom Code with JSTL
Setting and Using Configuration Variables
Integrating Custom Conditional Actions
Integrating Custom Iteration Actions
Integrating Custom 118N Actions
Integrating Custom Database Actions
Using JSTL Tag Library Validators
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
Appendixes
JSP Elements Reference
JSTL Actions and API Reference
JSP Expression Language Reference
JSP API Reference
Book Example Custom Actions and API Reference
Web Application Structure and Deployment Descriptor Reference
Index