Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 4th, 2013  |  syntax: None  |  size: 0.33 KB  |  hits: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }