Core JSTL (häftad)
Fler böcker inom
Format
Häftad (Paperback)
Språk
Engelska
Antal sidor
608
Utgivningsdatum
2002-11-01
Upplaga
1
Förlag
Prentice Hall
Illustratör/Fotograf
index
Illustrationer
index
Dimensioner
235 x 177 x 31 mm
Vikt
940 g
Antal komponenter
1
Komponenter
xvi, 584 p. :
ISBN
9780131001534

Core JSTL

Mastering the JSP Standard Tag Library

Häftad,  Engelska, 2002-11-01

Slutsåld

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
Visa hela texten

Kundrecensioner

Har du läst boken? Sätt ditt betyg »

Fler böcker av David Geary

Övrig information

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.

Innehållsförteckning



Preface.


Acknowledgments.


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 <c:forEach> Action. The <c:forTokens> Action. Iteration Status. Custom Iteration Actions.



5. Url Actions.

Overview. The <c:import> Action. The <c:redirect> Action. The <c:url> Action. The <c:param> 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 <fmt:message. Request Encoding. I18N Custom Actions.



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.



Index.