title: Checking html hidden value in jstl <c:if>
body: <p>I have one html input hidden</p>
  
  <pre><code>&lt;input type="hidden" id="todayRunJnID" name="todayRunJnID" value="some value"/&gt;
  </code></pre>
  
  <p>and also have a table using jstl <code>&lt;c:forEach&gt;</code> in the same jsp page</p>
  
  <pre><code>&lt;c:forEach items="${todaysRunJnList}" var="todayRunJn"&gt;                     
      &lt;tr&gt;
          &lt;td&gt;
              &lt;c:out value="${todayRunJn.uploadedBy}" /&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;c:out value="${todayRunJn.startDateTime}" /&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;c:out value="${todayRunJn.status}" /&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>I would like to check the input hidden value includes in <code>&lt;c:forEach&gt;</code> items like this.</p>
  
  <pre><code>&lt;c:forEach items="${todaysRunJnList}" var="todayRunJn"&gt; 
      &lt;c:if test="${todayRunJn.id == input hidden value}"&gt;
          &lt;tr&gt;
             ...
          &lt;/tr&gt;
      &lt;/c:if&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>Is it possible? According to the requirement, I don't want to call servlet again. The input hidden value come from jquery function.So this value is dynamic.</p>
  
  <pre><code>$(".runJnId").click(function() {
      var valueId = $(this).data('id');
      $("#todayRunJnID").val(valueId);
  });
  </code></pre>