p. 252: Change
That is, delete the extra closing parenthesis.
p. 253: Change "The first header is zero." to "The first MIME header is one." in both the third and fourth paragraphs of body text.
p. 268: In the
saveBinaryFile() method of Example 10-13, there's a likely
IndexOutOfBoundsException. To fix it, change,
bytesread = theImage.read(b, offset, bfr);
p. 276, paragraph 3:
Change "The request above contains two name-value pairs, separated by ampersands." to "The request above contains two name-value pairs, separated by an ampersand."
bytesread = theImage.read(b, offset, b.length-offset);
p. 278: In Example 10-16 delete the line
int cl = query.length();
p. 293: change "The
createURLStreamHandlerFactory interface" to