title: Why is my post not give data to my controller from my form?
body: <p>I am developing a Sprin MVC application and I have a form containing a table in one of the UI jsp's, (welcome.jsp) and when the submit button is clicked, I am trying to print out the data in the form to the web applications console.From there i intend to parse the checkboxes that are selected and then have the controller send the 'selected' data back to the databased to be updated to the next status in the applications flow.</p>
  
  <p>So far the form is 'successfully' posting as in no error or exceptions is being thrown, but the printed statement in the console is blank which makes me think that no data is being sent, and I would greatly welcome any help to fix this.</p>
  
  <p>Here is the setup of what I have, not the actual code but a rough set up of the elements and methods.</p>
  
  <p>welcome.jsp:</p>
  
  <pre><code>   &lt;form action="&lt;c:url value="/postPage" /&gt;"method="post" modelAttribute="rTable"&gt;
         &lt;br/&gt;
         &lt;table&gt;
             &lt;thead&gt;
                 &lt;tr&gt;
                     &lt;th&gt;title1&lt;/th&gt;
                     &lt;th&gt;title2&lt;/th&gt;
                     &lt;th&gt;title3&lt;/th&gt;
                     &lt;th&gt;&lt;select&gt;
                          &lt;option&gt;option1&lt;/option&gt;
                          &lt;option&gt;option2&lt;/option&gt;
                     &lt;/select&gt;&lt;/th&gt;  
                 &lt;/tr&gt;
             &lt;/thead&gt;
             &lt;tbody&gt;
                 &lt;tr&gt;
                     &lt;td&gt;value1&lt;/td&gt;
                     &lt;td&gt;value1&lt;/td&gt;
                     &lt;td&gt;value1&lt;/td&gt;
                     &lt;td&gt;&lt;input type="checkbox" value="row_data_id" /&gt;&lt;/td&gt;
                 &lt;/tr&gt;
             &lt;/tbody&gt;
             &lt;tfoot&gt;
                 &lt;tr&gt;&lt;td colspan="4"&gt;&lt;/td&gt;
             &lt;/tfoot&gt;
          &lt;/table&gt;
          &lt;br/&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>My controller has the following method in it with all the necessary libraries imported:</p>
  
  <p>controller.java</p>
  
  <pre><code>    @RequestMapping(value="/postPage", method = RequestMethod.POST)
      public String processUpdate(@ModelAttribute("rTable") String table, ModelMap model) {
          System.out.println(table);
          return "postPage";
  
      }
  </code></pre>
  
  <p>The console line that is print is this:</p>
  
  <pre><code>    .
      .
      .
      [3/19/14 16:36:53:625 EDT] 0000006a SystemOut     O 
      .
      .
      .
  </code></pre>
  
  <p>Does anyone know why this is not printing anything? Am I really not successfully sending anything to the controller?</p>