Appendix B. JSTL Actions and API Reference
This appendix contains reference material for all JSTL actions, support and utility classes, and configuration settings.
The actions are described using the same conventions as for the JSP standard actions in Appendix A, with the difference that dynamic values are indicated by “Yes” in the “Dynamic value accepted” column in the Attribute tables. For the Expression Language (EL) libraries, this means the attribute value can be set by an EL expression, while for the request-time attribute value (RT) libraries, it means that the value can be set by a request-time attribute expression, as described in Chapter 15.
JSTL Library URIs and Default Prefixes
As described in Chapter 15, the JSTL libraries come in two flavors: one set that accepts EL expressions as action element attributes (the EL libraries) and one set that accepts request-time attribute values (the RT libraries). Except for the type of expressions they accept, they are identical in every way.
The URIs and default prefixes for the EL libraries are listed in Table B-1.
Table B-1. URIs and prefixes for the EL libraries
|
Library |
URI |
Prefix |
|---|---|---|
|
Core |
c | |
|
XML processing |
x | |
|
I18N formatting |
fmt | |
|
Database access |
sql |
The URIs and default prefixes for the RT libraries are listed in Table B-2.
Table B-2. URIs and prefixes for the RT libraries
|
Library |
URI |
Prefix ... |
|---|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access