title: How to compare parameters in JSTL
body: <p>I have list of ID's from a database and pass them in a request to a servlet, but i can't compare them to any number.</p>
  
  <p>I think maybe i have to convert them to integer type: </p>
  
  <pre><code>    &lt;c:forEach items="${subjec.id}" var="x"&gt;
  ${x}
    &lt;/c:forEach&gt;
  &lt;c:forEach items="${listPage}" var = "list"&gt;
  ${list.id} 
  &lt;c:choose&gt;
  &lt;c:when test="${list.id} == 1"&gt;
  
  &lt;/c:when&gt;
  &lt;/c:choose&gt;
  
  &lt;/c:forEach&gt;
  &lt;c:if test="${subject1.id == 1}"&gt; 
  ${subject1.id}
  &lt;/c:if&gt;
  </code></pre>
  
  <p>However, I cant test based on Integer format. Any suggetions for this case?</p>