Skip to Main Content
Java Servlet Programming
book

Java Servlet Programming

by Jason Hunter
November 1998
Intermediate to advanced content levelIntermediate to advanced
526 pages
14h 38m
English
O'Reilly Media, Inc.
Content preview from Java Servlet Programming

Organization

This book consists of 13 chapters and 5 appendices, as follows:

Chapter 1

Explains the role and advantage of Java servlets in web application development.

Chapter 2

Provides a quick introduction to the things an HTTP servlet can do: page generation, server-side includes, servlet chaining, and JavaServer Pages.

Chapter 3

Explains the details of how and when a servlet is loaded, how and when it is executed, how threads are managed, and how to handle the synchronization issues in a multithreaded system. Persistent state capabilities are also covered.

Chapter 4

Introduces the most common methods a servlet uses to receive information—about the client, the server, the client’s request, and itself.

Chapter 5

Describes how a servlet can generate HTML, return errors and other status codes, redirect requests, write data to the server log, and send custom HTTP header information.

Chapter 6

Looks at some of the interesting things a servlet can return: dynamically generated images, compressed content, and multipart responses.

Chapter 7

Shows how to build a sense of state on top of the stateless HTTP protocol. The first half of the chapter demonstrates the traditional session-tracking techniques used by CGI developers; the second half shows how to use the built-in support for session tracking in the Servlet API.

Chapter 8

Explains the security issues involved with distributed computing and demonstrates how to maintain security with servlets.

Chapter 9

Shows how servlets can be used ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Servlet Programming, 2nd Edition

Java Servlet Programming, 2nd Edition

Jason Hunter, William Crawford

Publisher Resources

ISBN: 156592391XSupplemental ContentCatalog PageErrata