SHARE
TWEET

Untitled

a guest Jan 4th, 2013 21 Never
  1. <c:if test="${foo == 'bar'}">...</c:if>
  2.        
  3. <c:choose>
  4.    <c:when test="${foo == 'bar'}">...</c:when>
  5.    <c:when test="${foo == 'baz'}">...</c:when>
  6.    <c:otherwise>...</c:otherwise>
  7. </c:choose>
  8.        
  9. if (some_condition) {
  10.     // ...
  11. }
  12.        
  13. if (some_condition) {
  14.     // ...
  15. } else if (some_other_condition) {
  16.     // ...
  17. } else {
  18.     // ...
  19. }
RAW Paste Data
Top