title: Cell cannot be updated (Server error)
body: <p>I am using Servlets to populate a jsp page table with mysql database data, along with jquery datatable plugin to make the tables editable. </p>
  
  <p>The table edit, however, does not work and I get the error "Cell cannot be updated (Server error)" every time I edit a field and hit 'Enter'. Is my doPost method even running?</p>
  
  <p>Here's my jquery scriplet:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;  
          $(document).ready(function(){
          oTable = $("table#datatables").dataTable({
                  "sPaginationType":"full_numbers",
                  "aaSorting":[[2, "desc"]],
                  "bJQueryUI":true,
                  "sDom": '&lt;"top"i&gt;&lt;"title"&gt;lt&lt;"bottom"pf&gt;'               
                  }).makeEditable({
                  "sUpdateURL": "/home",
                  "aoColumns": [
                   null,  //medical record number
                   {},    //last name; default editing    
                   {},    //first name; default editing
                   {},    //middle name; default editing
                   {},    //date of birth; default editing
                   {      //gender, selection between M and F
                      indicator: 'Saving...',
                      tooltip: 'Click to select gender',
                      loadtext: 'loading...',
                      type: 'select',
                      onblur: 'submit',
                      data: "{'M':'M','F':'F'}"
                   }, 
                   null,  //admission date time
                   null,  //discharge date time
                   null,  //attending physician
                   {}     //room; default editing
                   ]
              });
          });
       &lt;/script&gt;
  </code></pre>
  
  <p>And here's my doPost method of my home Servlet</p>
  
  <pre><code>protected void doPost(HttpServletRequest request,
          HttpServletResponse response) throws ServletException, IOException {
               int id = Integer.parseInt(request.getParameter("id"));
       int columnId = Integer.parseInt(request.getParameter("columnId")); 
       int columnPosition = Integer.parseInt(request.getParameter("columnPosition")); 
       int rowId = Integer.parseInt(request.getParameter("rowId")); 
       String value = request.getParameter("value"); 
       String columnName = request.getParameter("columnName");
  
       System.out.println(value);         
  }
  </code></pre>
  
  <p>The URL mapping of my servlet is "/home"</p>