title: How do I do the equivalent of a java If-Else block using JSTL?
body: <p>A quick JSTL question.  I usually use scriptlets in my jsp pages, but have a conflict due to some other things in my page.  I understand you can do something like this using JSTL, although I am not familiar with it.  Here is what I would code using java for this:</p>
  
  <pre><code>if (var1.equalsIgnoreCase(var2)) { 
  
  some html stuff
  
  } else {
  
  more html
  
  }
  </code></pre>
  
  <p>So can this be converted and translated to be used with JSTL?  </p>
  
  <p>Thanks in advance and if you have any questions, just let me know.</p>