Core JSTL: Mastering the JSP™ Standard Tag Library
1.3 The Book's Web Site
This book has a companion Web site athttp://www.corejstl.com. That Web site provides documented source codefor all of this book's examples.
1.4 How This Book's Code Was Tested
All of the code examples in this book were tested with Resin 2.1.2 and Tomcat 4.1.3. See "The Book's Web Site"for more information about downloading that code.
1.5 This Book's Audience
This book was written for Java developers with a basic understanding of servlets and JSP. If you are new toservlets and JSP, I recommend the following books for your first book on those topics:
Core Servlets and JSP
by Marty Hall, Sun Microsystems Press
Advanced JavaServer Pages
by David Geary, Sun Microsystems Press
Java Servlet Programming
by Jason Hunter, O'Reilly
Web Development with JavaServer Pages
by Fields and Kolb, Manning
1.6 How To Use This Book
The majority of this book is written in a tutorial style that illustrates how to make the most of JSTL's expressionlanguage and actions. The last chapter in the book is a reference for the JSTL actions. That reference providesdetailed syntax information for each JSTL action, in addition to a short description of the action and its constraintsand error handling. Each action also is accompanied by an
In a Nutshell
section that provides enough informationabout the action to get you started.You can use the reference chapter in one of two ways. First, it may be a good place to start when you are using aJSTL action for the first time. Once you understand the action's syntax and its intent, you will probably want toread more about the action in the applicable chapter where it's discussed in detail. Second, you should use thereference to help you use JSTL actions after you understand their purpose and intent; for example, the<fmt:formatNumber> action, which is discussed in detail in "Formatting and Parsing Numbers" on page 310 andsummarized in "Formatting Actions" on page 509 provides 12 attributes. It can be difficult to remember all of those attributes and how they work together. Instead of trying to unearth that specific information from the"Formatting Actions" chapter beginning on page 308, you would be better off looking up those attributes in the"JSTL Reference" chapter beginning on page 464
1.7 Conventions Used in This Book
Table P-1shows the coding conventions used in this book.
Table P-1. Coding Conventions
Class names have initial capital letters.
Method names have initial lower case, and the rest of the words have an initialcapital letter.
Variable names have initial lower case, and the rest of the words have aninitial capital letter.
private int lengthprivate intbufferLength
Note that, for the most part, methods are referred to without their arguments; however, arguments are includedwhen the discussion warrants them.Table P-2shows the typographic conventions used in this book.