• This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • kevin
    Keymaster
    Postcount 29

    I want use if-else if-else in JSTL. Can anybody help me?


    kevin
    Keymaster
    Postcount 29

    You can use code below for using if-else if-else:

    <c:choose>
    <c:when test=”${condition1}”>

    </c:when>
    <c:when test=”${condition2}”>

    </c:when>
    <c:when test=”${condition3}”>

    </c:when>
    <c:otherwise>

    </c:otherwise>
    </c:choose>

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Top