JSTL Early Access | Beware API and Tags may/will change | support development comments to JSR052 EG |
JSTL Examples Introduction EL Support Conditionals Iterators Import I18N & Formatting XML SQL Misc. |
This web application includes a variety of sample JSP pages that showcase the JSTL tags currently being specified within the JSR-052 Expert Group.
WARNING: This is Beta 2. The goal of this early access program is to keep the community informed of the EG's progress as well as to give the community a chance to experiment with the standard tag library (JSTL) early in the specification process so that valuable feedback can quickly be channelled back to the Expert Group.
The JSTL 1.0 Specification developed by the JSR052 expert group under the Java Community Process is a complete JSTL 1.0 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 JSTL Beta 2 release.
There are three ways to obtain information from or send your comments to the JSR052 Expert Group:
The JSTL examples have been divided in the following categories:
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 |
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
intArray
stringArray
numberMap
enumeration
The classes of interest that hold the information manipulated by the JSP pages are:
JSTL Early Access | Beware API and Tags may/will change | support development comments to JSR052 EG |