Java Servlet Programming by Jason Hunter with William Crawford This errata page lists errors outstanding in the most recent printing. If you have any error reports or technical questions, you can send them to booktech@oreilly.com. (Please specify the printing date of your copy.) This page was last modified on June 21, 2000. Here's the key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification CONFIRMED errors: [7] In the fourth paragraph, last line: JDSK should be: JSDK (30) In the footnote, "for a servlets" should be changed to "for a servlet" [34] The first sentence of second paragraph should be changed to read: "Inside doGet(), the servlet checks the content type of the data, sets its output type, and then fetches its print writer." doGet should be in constant width font. (40) Figure 2-12; The figure needs to be corrected: "<\HEAD>" should be "", "<\BODY>" should be "", and "<\HTML>" should be "". (100) In line twelve, the text should read: ...usually "HTTP/1.0" or "HTTP/1.1" In other words, cut the three v's and replace them with straight quotes. "HTTP/1.0" and "HTTP/1.1" should be in constant width font. (104) Example 4-15; The line of code that checks for the "Content-Length" header field reads: if ("Content-Length").equalsIgnoreCase(header)) There is a ')' before the dot. The line should read: if ("Content-Length".equalsIgnoreCase(header)) 1 2 21 (154) Second (middle) code snippet; the line of code that sends the "SC_INTERNAL_SERVER_ERROR" reads: res.sendError(res.SC._INTERNAL_SERVER_ERROR); This line contains a dot after "SC". It should read: res.sendError(res.SC_INTERNAL_SERVER_ERROR); (without the dot) (158) In the second line of last paragraph; PrinWriter should read: PrintWriter (221) The paragraph that starts with: A client wants "and it also want" should read: "and it also wants" (232) Fourth paragraph, first line; Browser misspelled as "brower" in the 3/00 printing of this book. {234} In the second paragraph, last line of the 3/00 printing; The URL: http://www.ietf.org/ietf-tls should be: http://www.ietf.org/rfc/rfc2246.txt (244) In the line reads "The most compelling reason for putting a middle tier between a client and our ultimate date source is...". I believe that the reference to "date" should really be "data". (245) In output code block, "Janet" should be changed to "Jane". [321] In the following lines of code: // doPost() accepts a new message and broadcasts it to all // the currently listening HTTP and socket clients. the second line should be changed to read: // the currently listening HTTP, socket, and RMI clients.