6.13 JSP STANDARD TAG LIBRARY

JSP has five standard tag libraries. The core library is called by the same name, generally prefixed with a “c”. Rest of the standard libraries are specialized in its own way.

Area Subfunction Prefix
Core General c
Control
Navigation management
Iteration
XML Core x
Flow control
Transformation
I18N Locale fmt
Message formatting
Number and date formatting
Database SQL sql
Functions Collection length fn
String manipulation

The Core library is organized as follows.

  • General purpose scripting
    • Examples include c:out, c:set, c:catch
  • Conditional/Control
    • Examples include c:if, c:choose, etc
  • Iteration
    • Examples include c:forEach, c:forTokens.
  • Navigation
    • Examples include c:url, ...

Get Web Technology: Theory and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.