p. 190: Remove HTTPS from the list of unsupported protocols. That is, change "This browser supports HTTP, HTTPS, FTP, mailto, file, gopher, doc, netdoc, verbatim, systemresource, and jar but not HTTPS, ldap, Telnet, jdbc, rmi, jndi, finger or daytime." to "This browser supports HTTP, HTTPS, FTP, mailto, file, gopher, doc, netdoc, verbatim, systemresource, and jar but not ldap, Telnet, jdbc, rmi, jndi, finger or daytime."
p. 212 In the caption of Example 7-9, there's an extraneous hyphen. That is, change "Example 7-9. -The QueryString class" to "Example 7-9. The QueryString class"
p. 218: In Example 7-10, the line
System.out.println("The host is " + u.getUserInfo());
should be
System.out.println("The host is " + u.getHost());
As a result, on p. 219 in the output, "The host is null" should be "The host is www.xml.com"
p. 226: Change "Finally, the name-value pairs are simply the
NAME
attributes of the INPUT
elements, except for any INPUT
elements whose TYPE
attributes has the value submit." to "Finally, the names in the name-value pairs are simply the values of the
NAME
attributes of the INPUT
elements.
The values of the pairs are whatever the user types into the form."