Overview | Library | Tag | Help
| FRAMES NO FRAMES

## JSTL core

Standard Syntax:
`<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
`
XML Syntax:
`<anyxmlelement xmlns:c="http://java.sun.com/jsp/jstl/core" />
`

    JSTL 1.2 core library The pre JSF 2.0 version of Facelets incorrectly declared the taglib uri to be http://java.sun.com/jstl/core. For backwards compatibility implementations must correctly handle inclusions with the incorrect uri, and the correct uri, declared here.

Tag Library Information
Display Name | JSTL core
Version | 1.2
Short Name | c
URI | http://java.sun.com/jsp/jstl/core

Tag Summary
catch | Catches any Throwable that occurs in its body and optionally exposes it.
choose | Simple conditional tag that establishes a context for mutually exclusive conditional operations, marked by and
if | Simple conditional tag, which evalutes its body if the supplied condition is true and optionally exposes a Boolean scripting variable representing the evaluation of this condition
forEach | The basic iteration tag, accepting many different collection types and supporting subsetting and other functionality
otherwise | Subtag of that follows tags and runs only if all of the prior conditions evaluated to 'false'
set | Sets the result of an expression evaluation based on the value of the attributes. If "scope" the is present, but has a zero length or is equal to the string "page", `TagException` is thrown with an informative error message, ensuring page location information is saved. This handler operates in one of two ways. The user has set "var", "value" and (optionally) "scope" attributes. The user has set "target", "property", and "value" attributes. The first case takes precedence over the second.
when | Subtag of that includes its body if its condition evalutes to 'true'

Overview | Library | Tag | Help
| FRAMES NO FRAMES