高度なカスタマイズ > Info*Engine ユーザーガイド > Info*Engine カスタムタグリファレンス > Info*Engine タグ > supplied ライブラリのタグ (JSTL) > otherwise
  
otherwise
このタグは、choose および when タグと関連しています。これは choose タグの子である必要があり、これには兄弟 when タグが必要です。when タグが false に評価される場合、otherwise タグのコンテンツが呼び出され、実行されます (if/else ロジックの else を表す)。
構文
<c:choose>
<c:when test="CONDITION">
<!-- processed when CONDITION evaluates to true -->
</c:when>
<c:otherwise>
<!-- processed when CONDITION evaluates to false -->
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${group == null || group.elementCount==0}">
<!-- do when group named "group" is empty -->
</c:when>
<c:otherwise>
<!-- do when group contains elements -->
</c:otherwise>
</c:choose>