title: Enum inside a JSP
body: <p>Is there a way to use Enum values inside a JSP without using scriptlets.</p>
  
  <p>e.g. </p>
  
  <pre><code>package com.example;
  
  public enum Direction {
      ASC,
      DESC
  }
  </code></pre>
  
  <p>so in the JSP I want to do something like this</p>
  
  <pre><code>&lt;c:if test="${foo.direction ==&lt;% com.example.Direction.ASC %&gt;}"&gt;...
  </code></pre>