title: How do I do "nested if" in JSTL for Java JSP?
body: <p>I want to do something like the following:</p>
  
  <pre><code>&lt;c:choose&gt;
      &lt;c:when test="${empty example1}"&gt;
      &lt;/c:when&gt;
      &lt;c:otherwise&gt;
          &lt;c:when test="${empty example2}"&gt;
          &lt;/c:when&gt;
          &lt;c:otherwise&gt;
          &lt;/c:otherwise&gt;              
      &lt;/c:otherwise&gt;
  &lt;/c:choose&gt;
  </code></pre>
  
  <p>Is this even possible?  I get an exception thrown when trying to run.</p>
  
  <p>Thank you.</p>