title: Jsp form submit with list to spring MVC controller
body: <p>I am new to jsp and spring MVC.
  I had a jsp which display students list to take attendance with a checkbox in the form.
  The Students jsp contains student details from student table and checkbox is from attendance table and my jsp page is like this</p>
  
  <h2>Jsp Code</h2>
  
  <p>
          </p>
  
  <pre><code>            &lt;tr&gt;
                  &lt;th width="80"&gt;Student No&lt;/th&gt;
                  &lt;th width="120"&gt;Student Name&lt;/th&gt;
                  &lt;th width="120"&gt;Father Name&lt;/th&gt;
                  &lt;th width="60"&gt;Mobile No&lt;/th&gt;
                  &lt;th width="60"&gt;Present&lt;/th&gt;
              &lt;/tr&gt;
              &lt;c:if test="${!empty studentsList}"&gt;
                  &lt;c:forEach items="${studentsList}" var="student"&gt;
                      &lt;tr&gt;
                          &lt;td&gt;${student.studentId}&lt;/td&gt;
                          &lt;td&gt;${student.studentName}&lt;/td&gt;
                          &lt;td&gt;${student.fatherName}&lt;/td&gt;
                          &lt;td&gt;${student.mobileNo}&lt;/td&gt;
                          &lt;td&gt;&lt;form:checkbox path="attendance.presentFlag" /&gt;&lt;/td&gt;
                  &lt;/c:forEach&gt;
              &lt;/c:if&gt; 
  
      &lt;/table&gt;
      &lt;div align="center"&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;/td&gt;
              &lt;td&gt;&lt;input type="submit" value="Present" style="margin-top: 12px;"/&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/div&gt;
      &lt;/form:form&gt;
  </code></pre>
  
  <p>Above jsp will display list of students with a checkbox.
  Now I want to submit the modified list in jsp to spring MVC controller to store in database based on the checkbox checked flag, can any one please suggest me how to overcome jsp form submission to spring mvc, I am unable to get what to do. I am able to call a method of controller what I have do for list submission.</p>