title: Struts logic tag equals not working
body: <p>Very quick questions.
  Could someone explain to me why this code does not work?</p>
  
  <pre><code>&lt;%@ taglib prefix="logic"   uri="/WEB-INF/struts-logic.tld" %&gt;
  
  &lt;%
      int myValue= 2;
  %&gt;
  
  myValue: &lt;%=myValue%&gt;
  &lt;br/&gt;
  &lt;logic:equal name="myValue" value="2" scope="session"&gt;
      logic:equal works!
  &lt;/logic:equal&gt;
  </code></pre>
  
  <p>Even if I change myValue to a String is still doesn't work</p>
  
  <p>Quite frustrating, cause I know it's going to be something obvious.</p>
  
  <p>Thanks in advance</p>
  
  <p>KS</p>
  
  <hr>
  
  <p>Working example!</p>
  
  <pre><code>&lt;%@ taglib prefix="logic" uri="/WEB-INF/struts-logic.tld" %&gt;
  
  &lt;%
      request.setAttribute("myValue", 2);
  %&gt;
  
  myValue - &lt;%=request.getAttribute("myValue")%&gt;]]
  
  &lt;br/&gt;
  &lt;logic:equal name="myValue" value="2" scope="request"&gt;
      logic:equal works!
  &lt;/logic:equal&gt;
  </code></pre>