Corrections to Chapter 15 of Java Network Programming, The Java Server API and Servlets
This chapter was based on alpha release of the Java Web Server.
Unfortunately, the servlet API changed radically with the release of the
first beta of the Java Web Server about a week after the
book was first published.
What I really need to do is rewrite the entire chapter using the release version. Until then, this chapter is best ignored.
p. 380: Change "a polymorphic version" to "an overloaded version"
p. 404: Change "The
writeErrorResponse() method sets the status code for an HTTP response" to "The
sendError() method sets the status code for an HTTP response"
p. 406: Near the end of Example 15-4, change
rs.writeBytes("\r\n" + msg);
Copyright 1998, 2002 Elliotte Rusty Harold
Last Modified December 30, 2002