Core Tag Library
Table 14-3 summarizes the core tags, which include those related to variables and flow control, as well as a generic way to access URL-based resources whose content can then be included or processed within the JSP page.
Area | Function | Tags | Prefix |
---|---|---|---|
Core | Variable support | remove set | C |
Flow control | choose when otherwise forEach forTokens if | ||
URL management | import param redirect param url param | ||
Miscellaneous | catch out |
Variable Support Tags
The set tag sets the value of an EL variable or the property of an EL variable in any of the JSP scopes (page, request, session, or application). If the variable does not already exist, it is created.
The JSP EL variable or property can be set either from the attribute value:
Get The J2EE™ Tutorial Second Edition 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.