Home > Store

JSTL: JSP Standard Tag Library Kick Start

Register your product to gain access to bonus material or receive a coupon.

JSTL: JSP Standard Tag Library Kick Start

Premium Website

  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2003
  • Edition: 1st
  • Premium Website
  • ISBN-10: 0-672-32450-4
  • ISBN-13: 978-0-672-32450-5

The JSP Standard Tag Library is a collection of commonly used functions and tools invaluable to JSP developers to avoid re-creating the same functions on site after site. Sun has indicated that JSP development should be based around using tag libraries going forward, and will relase JSP STL, as their official library. This book starts with an in-depth deiscussion of the JSP STL, then goes beyond the standard library to teach developers to create their own tags to further encapsulate the most common features of their specific applications. Along the way, readers will also learn to use tags to access data, process XML, handle expressions, and further customize pages for international visitors. Later chapters explain how readers can expand the Standard Tab Library by creating their own tags.



All the examples developed in the book - 2,820 kb -- code.zip

Sample Content

Online Sample Chapters

Understanding Basic Tag Logic

Understanding Basic Tag Logic in JSTL

Table of Contents

(NOTE: Each chapter concludes with a Summary.)


The Benefits of JSTL. JSTL and JSP. Who This Book Is For. Structure and Organization of the Book. The Forum Application. Source Code and Updates.

1. Understanding JSP Custom Tags.

The Role of Tags in JSP. Introducing JSTL. Installing JSTL.

2. Programming the JSP Standard Tag Library.

Understanding Scoped Variables. Accessing Application Data. The Basics of Web Application Programming.

3. Understanding Basic Tag Logic.

Exception Processing. Using Conditionals. A Chat Application

4. Using the Expression Language.

JSTL Expression Tags. Using the EL Expression Language. Using the RT Expression Language.

5. Collections, Loops, and Iterators.

Understanding Collections. The Iteration Tags. Using Iterators.

6. Formatting Data with Tags.

Formatting. Parsing. Time Zones. Applying Date Formatting.

7. Accessing Data with SQL Tags.

Introducing the Forum Example. Understanding JDBC Drivers. Using SQL Tags. Implementing the Forum Example. A General Query Engine.

8. Accessing Data with XML Tags.

Understanding XML. Understanding XPath. Understanding XML Core Tags. Using XML Flow-Control Tags. Transforming XML with XSLT.

9. Accessing Internet Resources with JSTL.

The URL-Related Tags. Understanding Internet Resources.

10. Understanding JSTL Internationalization.

The I18N-Related Tags. Resource Bundles. A Multilingual Forum Application.

11. Creating Your Own Tag Libraries.

Developing Custom Tag Libraries. The Components of a Tag Library.

12. Debugging and Deploying Tag Libraries.

Debugging. Debugging with an IDE. Deploying Web Applications.

Appendix A. JSTL Reference.

The Core Tags. The I18N Tags. The Relational Database Tags (SQL). The XML Tags.

Appendix B. Installing JSTL and Tomcat.

Installing JDK. Installing Tomcat. Installing the Book Examples. The Classpath and Search Path. Installing JSTL without the Examples.

Appendix C. Installing MySQL.

Obtaining and Installing MySQL. Setting Up MySQL. Creating the Forum Example. Installing a JDBC Driver.

Appendix D. Unix Installation Notes.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership