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.
(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.
The Role of Tags in JSP. Introducing JSTL. Installing JSTL.
Understanding Scoped Variables. Accessing Application Data. The Basics of Web Application Programming.
Exception Processing. Using Conditionals. A Chat Application
JSTL Expression Tags. Using the EL Expression Language. Using the RT Expression Language.
Understanding Collections. The Iteration Tags. Using Iterators.
Formatting. Parsing. Time Zones. Applying Date Formatting.
Introducing the Forum Example. Understanding JDBC Drivers. Using SQL Tags. Implementing the Forum Example. A General Query Engine.
Understanding XML. Understanding XPath. Understanding XML Core Tags. Using XML Flow-Control Tags. Transforming XML with XSLT.
The URL-Related Tags. Understanding Internet Resources.
The I18N-Related Tags. Resource Bundles. A Multilingual Forum Application.
Developing Custom Tag Libraries. The Components of a Tag Library.
Debugging. Debugging with an IDE. Deploying Web Applications.
The Core Tags. The I18N Tags. The Relational Database Tags (SQL). The XML Tags.
Installing JDK. Installing Tomcat. Installing the Book Examples. The Classpath and Search Path. Installing JSTL without the Examples.
Obtaining and Installing MySQL. Setting Up MySQL. Creating the Forum Example. Installing a JDBC Driver.