The choose tag provides case-style conditional logic. The choose tag will have nested some number of when tags and possibly an otherwise tag. The first when tag to test true will be resolved to become the processing result of the entire choose tag. If no when tag tests true and an otherwise tag is present, the otherwise tag is resolved to produce the result of the entire choose tag.
|An XPath expression. If specified, nested when tags will be evaluated by comparing their test attribute with the value of this resolved XPath expression. If this attribute is omitted, when tags are tested by evaluating their respective test attributes as boolean values.
<c:choose select=“” >
Return to index