title: Access input tag value in JSTL
body: <p>I have an input tag and jquery code to assign value to that input. Now I want to use this value to loop using JSTL for each. How can I do it?</p>
  
  <pre><code>&lt;input type="hidden" id="serviceCount" /&gt; ==&gt; Input tag in JSP file
  
  $('#serviceCount').val(serviceCount++); ==&gt;jquery to set value in JS file
  
  &lt;c:forEach begin="0" end="???" var="index"&gt; ==&gt;JSTL in JSP file. 
  </code></pre>
  
  <p>Trying to put serviceCount value in end. I tried to put as ${serviceCount} but its not picking that value.</p>