standard taglib • implementation of the JSP Standard Tag Library • support development comments to JSR-52
Examples Introduction • General Purpose • Conditionals • Iterators • Import • I18N & Formatting • XML • SQL • Functions • TLV • Misc.

## Welcome to the standard-examples web application!

This web application includes a variety of sample JSP pages that showcase the JSTL tags specified within the JSR-052 Expert Group.

### Documentation

The JSTL 1.1 Specification developed by the JSR052 expert group under the Java Community Process is a complete JSTL 1.1 reference.

Documentation on the JSTL tags is available at http://jakarta.apache.org/taglibs/doc/standard-doc. It is also available as the standard-doc web application of the standard taglib release.

### Mailing Lists

There are three ways to obtain information from or send your comments:

1. Support: For support/usage questions, please use the user mailing list of jakarta-taglibs.
2. Development: For bugs, development related questions, please use the developer mailing list of jakarta-taglibs
3. Comments to the JSR052 EG: To provide the Expert Group with feedback on JSTL, use either the developers mailing list at Jakarta, or you may contact the expert group privately at jsr-52-comments@jcp.org. All comments will be read, but we cannot guarantee a personal reply to all messages received.

### Examples

The JSTL examples have been divided in the following categories:

- General Purpose Tags
- Conditional Tags
- Iterator Tags
- Import Tags
- I18N & Formatting Tags
- XML Tags
- SQL Tags
- Functions
- Tag Library Validators
- Miscellaneous

The navigation bar at the top of each index page provides quick navigation to each set of example pages.

When navigating the examples, the following icons will allow you to look at the source code as well as execute the example JSP page.

| Look at the source code of the example JSP page
| Execute the example JSP page

### Infrastructure

The source code for the JSTL examples includes class `startup.Init` to initilialize the objects used in the examples. This allows us to mimic the environment that would normally be used within an MVC architecture: the Controller invokes the business logic, saves the objects required by the web application into JSP scoped attributes (usually request), and then invokes the proper JSP page. For the sake of this "examples" webapp, all objects are saved in the application scope.

The application attributes are:

- `customers`
  A collection of Customer objects
- `intArray`
  An array of int's
- `stringArray`
  An array of Strings
- `numberMap`
  A Map instance associating Integer objects with their Spanish names
- `enumeration`
  An enumeration on numberMap from above.

The classes of interest that hold the information manipulated by the JSP pages are:

- Customer
  - int key
  - String lastName
  - String firstName
  - Date birthDate
  - Address address
- Address
  - String line1
  - String line2
  - String city
  - String state
  - String country

standard taglib • implementation of the JSP Standard Tag Library • support development comments to JSR-52