public class ChooseTag
extends javax.servlet.jsp.tagext.TagSupport
Tag handler for <choose> in JSTL.
<choose> is a very simple tag that acts primarily as a container; it always includes its body and allows exactly one of its child <when> tags to run. Since this tag handler doesn't have any attributes, it is common.core to both the rtexprvalue and expression- evaluating versions of the JSTL library.
| Constructor and Description |
|---|
ChooseTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag() |
boolean |
gainPermission()
Returns status indicating whether a subtag should run or not.
|
void |
release() |
void |
subtagSucceeded()
Called by a subtag to indicate that it plans to evaluate its
body.
|
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic boolean gainPermission()
public void subtagSucceeded()
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionCopyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.