Core JSTL : Mastering the JSP Standard Tag Library

3.75 (4 ratings by Goodreads)
By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 3 business days
When will my order arrive?


Core JSTL is an in-depth examination of the JavaServer Pages Standard Tag Library (JSTL), which provides a standard set of custom tags--including tags for iteration, accessing URLs, database access, internationalization, and the manipulation and transformation of XML documents--that Web page authors and software developers can use to develop Web sites. The book illustrates JSTL's capabilities with lots of code snippet and examples. These examples are creative and practical combinations of tags you can use right now! An advanced part of the book covers JSTL configuration and integration of Java code with JSTL. JSTL defines an expression language that facilitates Web site development by providing an alternative to Java code in Web pages. The JSTL expression language also allows easy access to data such as request parameters and attributes, cookies, and HTML headers. Core JSTL examines all aspects of this powerful new addition to the JavaServer Pages standard, and is written for page authors and software developers alike. JSTL is a Java standard for developing dynamic web sites. It gives non-programmers access to powerful operations through HTML-like tags.
show more

Product details

  • Paperback | 608 pages
  • 178 x 234 x 34mm | 884.5g
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • w. figs.
  • 0131001531
  • 9780131001534

Back cover copy

The breakthrough solution for easier, faster, and more powerful Web development.

Powerful techniques for accelerating, simplifying, and standardizing Web application development In-depth coverage of JSTL 1.0, including built-in tags, the new JSTL expression language, and custom tag development Written for both experienced Java platform developers and Web page authors By the best-selling author of Graphic Java and Advanced JavaServer Pages Using JSTL, software developers and Web page authors can create robust, flexible Web applications more quickly and easily than ever before. Now, best-selling author and JSTL expert David Geary presents the definitive guide to JSTL: its built-in tags, powerful expression language, and extensibility. Through practical examples and extensive sample code, Geary demonstrates how JSTL simplifies, streamlines, and standardizes a wide range of common Web development tasks and helps you build Web applications far more easily than JavaServer Pages technology alone.

Key topics covered:

Building HTML forms; accessing form data, JavaBeans components (beans), collections, and maps; constructing URLs and importing their content; redirecting HTTP responses; iterating over collections of objects; handling errors Localizing Web sites for multiple languages and countries, including localizing text and formatting and parsing numbers, currencies, percents, and dates. Creating and accessing data sources, making queries and iterating over the results; performing database inserts, updates, and deletes; executing database transactions Parsing XML documents; using XPath with JSTL custom actions; transforming XML with XSLT, filtering XML; accessing external entities

Core JSTL shows you how to:

Use JSTL to simplify Web development tasks Use the new JSTL expression language Access databases and execute transactions Develop internationalized Web sites Work with XML documents and JSP technology Extend JSTL with custom tags
show more

Table of contents



1. Introduction.

JSTL Overview. Getting Started. A Simple JSTL Web Application. JSTL Design Principles.

2. The JSTL Expression Language.

Expression Language Overview. Expressions. Identifiers. Operators. Type Coercion. Literal Values. Implicit Objects. Method Invocation. EL Expressions in Custom Actions. Common Mistakes.

3. General-Purpose and Conditional Actions.

General-Purpose Actions. Conditional Actions. Using Conditional and General-Purpose Actions Together. Conditional Custom Actions.

4. Iteration Actions.

The Action. The Action. Iteration Status. Custom Iteration Actions.

5. Url Actions.

Overview. The Action. The Action. The Action. The Action. Accessing External Resources. Accessing Resources in Foreign Contexts. Redirecting a Response.

6. Configuration Settings.

Overview. The Config Class.

7. I18N Actions.

Overview. I18N and L10N. Localization Contexts. An Overview of the I18N Actions. Use of

8. Formatting Actions.

Formatting and Parsing Numbers. Formatting and Parsing Dates and Times. Using Time Zones. Determining a Formatting Locale.

9. Database Actions.

Overview. A Simple Database. How JSTL Locates Data Sources. Creating Data Sources. Querying a Database. Updating a Database. Executing Database Transactions. Implementing Database Custom Actions.

10. XML Actions.

A Simple XML File. XML Actions Overview. XPath Overview. Parsing XML. Using Scoped Variables in XPath Expressions. Transforming XML with XSLT. Filtering XML. Accessing External Entities.

11. JSTL Reference.

Action Reference Index. General-Purpose Actions. Conditional Actions. Iteration Actions. URL Actions. Internationalization Actions. Formatting Actions. Database Actions. XML Core Actions. XML Flow Control Actions. XML Transform Actions.

Appendix A. Setting Up The MySQL Database Used In This Book.

Download and Install MySQL. Download and Install a JDBC Driver for MySQL. Create a MySQL Database for Core JSTL Examples. Populate the MySQL Database Used in Core JSTL Examples.

show more

About David Geary

DAVID M. GEARY is the president of Sabreware, Inc., a training and consulting company focusing on server-side Java technology. He has been developing object-oriented software for nearly 20 years and was among the pioneers who worked on the Java platform APIs at Sun Microsystems from 1994 to 1997. Geary is the author of six books on Java technology, including the runaway best-selling Graphic Java series, and Advanced JavaServer Pages. A member of the expert group that developed JSTL, he is also a contributor to the Apache Struts JSP software application framework and wrote questions for the Web component developer certification exam. Since 1996, he has been a columnist for Java Report magazine. He also writes JavaWorld's Java Design Patterns column.
show more

Rating details

4 ratings
3.75 out of 5 stars
5 0% (0)
4 75% (3)
3 25% (1)
2 0% (0)
1 0% (0)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X