I already have the first edition of your book. What am I missing if I don’t buy the new, second edition? |
Answer: The second edition is a major update of pretty much all chapters and also includes some new chapters. Here’s what one reader says about the second edition on Amazon.com:
And here’s an excerpt from the Preface that describes the differences compared to the first edition:
|
Second Edition available online
JavaServer Pages, Second Edition is now available online as part of O’Reilly’s Safari Bookshelf service.
JSTL Part 2 at ONJava.com
The second part of my article series about JSP Standard Tag Library (JSTL) 1.0 is now available at ONJava.com.
JavaServer Pages, 2nd edition released
The second edition of JavaServer Pages, (O’Reilly) was released this week and is now available for purchase in most book stores and online book web-stores.
The second edition is completely revised to cover JSP 1.2 and the JSP Standard Tag Library (JSTL) 1.0 specification.
Site updated for JavaServer Pages, 2nd edition
This site now features the second edition of JavaServer Pages, (O’Reilly). The book is currently in production and will soon appear in a bookstore near you.
JSTL article series at ONJava.com
The first part of my article series about JSP Standard Tag Library (JSTL) 1.0 is now available at ONJava.com.
2nd Edition announced
The second edition of my JSP book has just been announced by O’Reilly. It should be in the book stores sometime in August, but you can pre-order it now at Amazon.com and other online book stores.
The second edition is completely revised to cover JSP 1.2 and the just released JSP Standard Tag Library (JSTL) 1.0 specification.
JSP 1.2 article at ONJava.com
The JSP 1.2 specification was released on September 17, along with the Reference Implementation for the new specification: Tomcat 4.0.
Part 2 of an article where I describe the new JSP 1.2 features is now available on the ONJava.com site. If you like to run the book examples with Tomcat 4.0, see this tip for some pointers.
Can I run the examples from the first edition with Tomcat 4.0?
I know that the JSP 1.2 specification is now final, and that Tomcat 4.0 implements the new specification. Is there anything special I need to do to run your JSP 1.1 example application from the first edition of the book with Tomcat 4.0? |
Answer: JSP 1.2 is backwards compatible with the JSP 1.1 specification, so any JSP 1.1 application should run unchanged with a JSP 1.2 compliant container. Besides Tomcat 4.0, other containers also implement the new Servlet 2.3 and JSP 1.2 specifications.You install Tomcat 4.0 pretty much the same way as described for Tomcat 3.2 in the book. The only difference is that you should set the CATALINA_HOME environment variable instead of the TOMCAT_HOME variable. This name change refects the fact that the servlet container part is actually called Catalina, while the JSP part is called Jasper: combined they are called Tomcat.You start and shut down Tomcat 4.0 just as Tomcat 3.2, using the startup and shutdown scripts in the bin directory. Tomcat 4.0 uses a slightly different directory structure than Tomcat 3.2, but the web application directory is still named webapps. This means that you can install the example application exactly as described in the book: copy the ora directory from the jspbook.zip file to webapps/ora. That’s all there’s to it. If you like to use the example custom tag library in another application, you can take advantage of the new auto-discover feature for tag libraries introduced in JSP 1.2. This way you don’t have to mess around with tag library declarations in the web.xml file. See my JSP 1.2 article for details. That said, I recommend that you migrate to the JSP Standard Tag Library (JSTL) instead of using the custom tag library from the first edition of the book. The second edition of the book covers all you need to know to use the JSTL actions. |
The toaster and the wolf: the cover story
My copy of the first edition of your book has a toaster on the cover, but your site, Amazon.com and others show a cover with a wolf. What’s going on? |
Answer: For the first edition, the first printing came out with the toaster cover. And even though it was released in December 2000, the printing history incorrectly says January 2001. I guess the publisher was not sure it would make it out in December. O’Reilly has now decided to use animal covers for all their books, including the Java series. So the latest printing has the wolf cover instead. Similar changes will be done to all O’Reilly Java books, and some of them are already out. You can read more about this change at the O’Reilly site, and also let them know what you think about it. The second edition of the book will have the wolf cover in all printings, unless O’Reilly change their mind again 🙂 |