title: Hidden field in spring MVC
body: <p>I wanted to use spring hidden tag in below code. Is this possible in below code, what I have to write in my controller to do that or what I am doing is correct.</p>
  
  <pre><code>&lt;c:forEach var="record" items="${records}"&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;form:form id="myForm" action="list.html" method="post"&gt;
                  &lt;input type="hidden" name="record" value="${record}" /&gt;
                  &lt;a href="#" onclick="document.getElementById('myForm').submit();"&gt;Submit&lt;/a&gt; 
              &lt;/form:form&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
   &lt;/c:forEach&gt;
  </code></pre>
  
  <p>Any help will be highly appriciated.</p>
  
  <p>Thanks </p>