Errata


Print Print Icon

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question



Version Location Description Submitted By
Other Digital Version N/A
Example 3-2. web.xml

In the <servlet-class> element of web.xml, the class name, com.AJAXbook.servlet.AjaxResponseServlet, is wrong; must be:

<servlet-class>
com.oreilly.ajax.servlet.AjaxResponseServlet
</servlet-class>

Gerardo Hernandez-Campos 
Safari Books Online 2.1
section 2.1


Hi -- I'm currently reading "Ajax on Java" by Steven Douglas Olson via Safari Books Online, and I just came across a minor typo in section 2.1 Creating the Application.



The paragraph in section 2.1 that contains the error is:
"Now let's look at some code that does some real work. We will be using
the code from axax.js in the next chapter, so examine it closely and pay
special attention to the mechanism that talks to the server. Since we're
Java developers, the backend will be a servlet, but the web page doesn't
care."

I'm pretty sure "axax.js" should be "ajax.js" instead.

I hope this is helpful.

Thanks
Rob Searson, Progressive Insurance IT
Mayfield Ohio

Anonymous 
Printed Page 8

The callback() function described on page 8 does not match the callback() function described on page 6 for the same example. Specifically, the callback() function described on page 8 references two js functions, nonMSPopulate() and msPopulate(), that have not yet been defined, are not related to the example at-hand (displaying the decimal value of any character), and do not exist in the example code downloaded and extracted from ajaxonjavasource2-4.zip.

Admittedly a very minor discrepancy in what appears to be an excellent book!

Anonymous 
Printed Page 183
Last sentence

The sentence reads "Figure 10-1 shows what the sample application we will develop in this chapter will look like on the three major browsers."

The top three browsers have since 2004 been Internet Explorer, Firefox and Safari (http://en.wikipedia.org/wiki/Usage_share_of_web_browsers). However Internet Explorer, Firefox and Opera are shown. Opera currently has less than 1% of the market, and has never exceed this. Despite its cult status with developers, 1% cannot be considered major.

The words "the" and "major" should be deleted or the figure changed, replacing Opera with Safari.

This may appear a niggling 'religious' gripe, but readers should be made aware that it is important to test Ajax apps on Safari, both because of its usage on the Mac, and the use of Safari and other webkit-based browsers in mobile phones.

Anonymous 


"After reading the first 10 pages of the book, you’ll have an AJAX app up and running."
--Dave Fecak, Philadelphia Area Java Users' Group