title: How to evaluate a scriptlet variable in EL?
body: <p>I was wondering if there was anyway of using JSP in <code>&lt;c:if&gt;</code> statement.</p>
  
  <p>E.g.</p>
  
  <pre><code>&lt;c:if test="${ param.variable1 == 'Add' &lt;% JSP variable clause %&gt;}"&gt;
  </code></pre>
  
  <p>So I want my JSP variable to checked against as well.</p>
  
  <p>Any suggestions? I have tried ignorantly just sticking in the clause, obviously it did not work.</p>
  
  <p>Thanks</p>