title: JSP expression language not working when evaluating variables
body: <p>I am new to JSP and working with Tomcat 8. The problem is that JSP EL is not working properly. Like when i write <code>${1&gt;2}</code> it gives the right output but when I put a variable name in it it does not give the output. I have this in my code 
   <code>&lt;%@ page import = "java.util.*" isELIgnored="false"%&gt;</code></p>
  
  <p>but it is still not working. This is my code:</p>
  
  <pre><code>&lt;% 
      String GuessErrorMsg = null;
      if (GuessErrorMsg != null) {
  %&gt;
              &lt;div class='bad-field-error-message'&gt;${GuessErrorMsg}&lt;/div&gt;
  &lt;%
      }  
  %&gt;
  </code></pre>