-
Chapter 1 Introduction
-
History of Web Applications
-
Support for Servlets
-
The Power of Servlets
-
-
Chapter 2 HTTP Servlet Basics
-
HTTP Basics
-
The Servlet API
-
Page Generation
-
Web Applications
-
Moving On
-
-
Chapter 3 The Servlet Lifecycle
-
The Servlet Alternative
-
Servlet Reloading
-
Init and Destroy
-
Single-Thread Model
-
Background Processing
-
Load on Startup
-
Client-Side Caching
-
Server-Side Caching
-
-
Chapter 4 Retrieving Information
-
The Servlet
-
The Server
-
The Client
-
-
Chapter 5 Sending HTML Information
-
The Structure of a Response
-
Sending a Normal Response
-
Using Persistent Connections
-
Response Buffering
-
Status Codes
-
HTTP Headers
-
When Things Go Wrong
-
Six Ways to Skin a Servlet Cat
-
-
Chapter 6 Sending Multimedia Content
-
WAP and WML
-
Images
-
Compressed Content
-
Server Push
-
-
Chapter 7 Session Tracking
-
User Authentication
-
Hidden Form Fields
-
URL Rewriting
-
Persistent Cookies
-
The Session Tracking API
-
-
Chapter 8 Security
-
HTTP Authentication
-
Form-Based Authentication
-
Custom Authentication
-
Digital Certificates
-
Secure Sockets Layer (SSL)
-
-
Chapter 9 Database Connectivity
-
Relational Databases
-
The JDBC API
-
Reusing Database Objects
-
Transactions
-
A Guestbook Servlet
-
Advanced JDBC Techniques
-
Beyond the Core
-
-
Chapter 10 Applet-Servlet Communication
-
Communication Options
-
Daytime Server
-
Chat Server
-
-
Chapter 11 Servlet Collaboration
-
Sharing Information
-
Sharing Control
-
-
Chapter 12 Enterprise Servletsand J2EE
-
Distributing Load
-
Integrating with J2EE
-
-
Chapter 13 Internationalization
-
Western European Languages
-
Conforming to Local Customs
-
Non-Western European Languages
-
Multiple Languages
-
Dynamic Language Negotiation
-
HTML Forms
-
-
Chapter 14 The Tea Framework
-
The Tea Language
-
Getting Started
-
Request Information
-
Tea Administration
-
Tea Applications
-
A Tool Application
-
Final Words
-
-
Chapter 15 WebMacro
-
The WebMacro Framework
-
Installing WebMacro
-
WebMacro Directives
-
WebMacro Templates
-
A Tool Application
-
Filters
-
-
Chapter 16 Element Construction Set
-
Page Components as Objects
-
Displaying a Result Set
-
-
Chapter 17 XMLC
-
A Simple XML Compile
-
The Manipulation Class
-
A Tool Application
-
-
Chapter 18 JavaServer Pages
-
Using JavaServer Pages
-
Behind the Scenes
-
Expressions and Declarations
-
Directives
-
JSP and JavaBeans
-
Includes and Forwards
-
A Tool Application
-
Custom Tag Libraries
-
-
Chapter 19 Odds and Ends
-
Parsing Parameters
-
Sending Email
-
Using Regular Expressions
-
Executing Programs
-
Using Native Methods
-
Acting as an RMI Client
-
Debugging
-
Performance Tuning
-
-
Chapter 20 What's New in the Servlet 2.3 API
-
Changes in the Servlet API 2.3
-
Conclusion
-
-
Appendix A Servlet API Quick Reference
-
Appendix B HTTP Servlet API Quick Reference
-
Appendix C Deployment Descriptor DTD Reference
-
Appendix D HTTP Status Codes
-
Appendix E Character Entities
-
Appendix F Charsets
-
Colophon
- Title:
- Java Servlet Programming, Second Edition
- By:
- Jason Hunter, William Crawford
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- April 2001
- Pages:
- 784
- Print ISBN:
- 978-0-596-00040-0
- | ISBN 10:
- 0-596-00040-5
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The image on the cover of Java Servlet Programming, Second Edition, is a common European bear. There are eight species of bear: giant panda, spectacled, sun, sloth, Asiatic black, American black, brown, and polar. Nearly all bears, except a few populations of spectacled and sun bears, live in the northern hemisphere. All bear species have a similar anatomy, but they vary greatly in size, from the sun bear-the smallest, weighing 150 pounds or less-to the polar bear, which can grow to up to 1,800 pounds. The habitats in which they live vary as well, as does their diet. Bears are carnivores, but all species except the polar bear have an omnivorous diet. Biologically speaking, it is thought that bears may be related more closely to walruses and sea lions than to other carnivores. Their life span is not well known, but it is thought to be about 25 to 40 years; bears in captivity tend to live longer than those in the wild. Colleen Gorman was the production editor, and Norma Emory was the copyeditor for Java Servlet Programming, Second Edition. Catherine Morris and Leanne Soylemez provided quality control. Frameworks Consulting provided production support. Ellen Troutman-Zaig wrote the index.
Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout based on a series design by Nancy Priest. Judy Hoer converted the Microsoft Word files to FrameMaker 5.5.6, using tools created by Mike Sierra. The heading font is Bodoni BT, the text font is New Baskerville, and the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano using Macromedia FreeHand 8 and Adobe Photoshop 5. This colophon was written by Leanne Soylemez.
