Errata

JavaServer Pages

Errata for JavaServer Pages

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 Note Update

Version Location Description Submitted by Date submitted
Printed Page 1-740
The entire book

I purchased a copy of the JavaServer Pages book. The actual book between the covers is "Cascading Style Sheets: The Definitive Guide, Second Edition"

Some sort of manufacturing problem I think.

Anonymous   
Other Digital Version 46
Example 5-1

I tried to execute the examples under Tomacat 6, but many of the examples (starting with chap. 5 JSP is easy) encounter the same error:

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:429)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
<more deleted>

According to http://forum.springsource.org/archive/index.php/t-76052.html there is a bug in the container (I think) and one work around is by including the following in your web.xml
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"

I've tried this, but haven't been able to get it to work yet.

Thanks,
Mark

Mark Witczak  Dec 31, 2009 
PDF Page 70
Brief Custom Action....

The package in the source is incorrect
"com.ora.jsp.tags.motd" it should be
"com.ora.jsp.tags.xmp".

Sergio Toniutti  Jan 31, 2012 
Printed Page 72
Figure 7-1

In Figure 7-1, the box describing the contents of the TLD file has an incorrect value for the <tag-class> tag. it should be "com.ora.jsp.tags.motd.MixedMessageTag".

Sam Ganzman  Oct 06, 2009 
PDF Page 72
Figure 7-1

In Figure 7-1, the box describing the contents of the TLD file has an incorrect value for the <tag-class> tag. it should be:
"com.ora.jsp.tags.xmp.MixedMessageTag"

Sergio Toniutti  Jan 31, 2012 
Printed Page 102
3rd paragraph up from bottom, 1st line

reference to Example 8-6 should be Example 8-11

Anonymous   
Printed Page 145
In Example 10-6, within the catalog.productList loop

In the HTML template code, the <li> surrounding the Product link does not have a matching end tag: </li>.

AJ Heller  Jun 02, 2009