title: Compare Java Char to Integer in EL
body: <p>I have simple reqirement that I want to compare Java Char to Integer in EL syntax, How do I do it ?</p>
  
  <pre><code>&lt;select name="rating" id="id-rating"&gt;
      &lt;c:forEach var="i" begin="1" end="5" &gt; 
          &lt;c:choose&gt;
              &lt;c:when test="${javaObject.rating == i }"&gt;
                  &lt;option value="${i }" selected="selected"&gt;${i }&lt;/option&gt;
              &lt;/c:when&gt;
              &lt;c:otherwise&gt;
                  &lt;option value="${i }"&gt;${i }&lt;/option&gt;
              &lt;/c:otherwise&gt;
          &lt;/c:choose&gt;
      &lt;/c:forEach&gt;
  &lt;/select&gt;${javaObject.rating }
  </code></pre>
  
  <p>I tried </p>
  
  <ol>
  <li><code>"eq"</code> for comaprison</li>
  <li>varStatus variable 
  eg <code>loop.index</code></li>
  <li>also <code>loop.current</code></li>
  </ol>
  
  <p><code>${javaObject.rating }</code>  is what  i'm getting from Java Class  ( Spring Controller )</p>