title: Spring form not submitting
body: <p>I am using Spring SimpleFormController for my forms and for some reason it won't go to the onSubmit method</p>
  
  <p>Here's my code: </p>
  
  <pre><code>public class CreateProjectController extends SimpleFormController {
  
  ProjectDao projectDao;
  
  public CreateProjectController() {
      setCommandClass(Project.class);
      setCommandName("Project");
      setSessionForm(true);
  }
  @Override
  protected Object formBackingObject(HttpServletRequest request)
          throws Exception {
      String id = request.getParameter("id");
      Project project = projectDao.getProjectByOutsideId(id);
      System.out.println("@formbacking object method");
      System.out.println("the success view is "+getSuccessView());
      return project;
  }
  @Override
  protected ModelAndView onSubmit(Object command) throws Exception {
      Project project = (Project) command;
      System.out.println("this is the project title: "+project.getTitle());
      System.out.println("the success view is "+getSuccessView());
      projectDao.insert(project);
  
      return new ModelAndView(getSuccessView());
  }
  </code></pre>
  
  <p>I know because it prints "@formbacking object method" string but not the "the success view is..." string and the :"this is the pr..." string. I see "@formback.." string in the console but not the last two whenever I hit submit.  I don't know where the problem is.</p>
  
  <p>This is my jsp</p>
  
  <pre><code>&lt;form:form method="POST" commandName="Project"&gt;
  Name: &lt;form:input path="title"/&gt;&lt;br/&gt;
  Description: &lt;form:input path="description"/&gt;&lt;br/&gt;
  Link: &lt;form:input path="url" disabled="true"/&gt;&lt;br/&gt;
  Tags: &lt;form:input path="tags"/&gt;&lt;br/&gt;
  Assessors &lt;form:input path="assessors"/&gt;&lt;br/&gt;&lt;br/&gt;
  &lt;input type="submit" value="submit"/&gt;
  &lt;/form:form&gt;
  </code></pre>
  
  <p>I am running on Google App Engine btw. Maybe the problem is there? </p>
  
  <p>UPDATE: The problem seems to be with the formBackingObject method. When I removed it, the form now goes to the onSubmit when I click submit. </p>
  
  <p>But I'd like to have values from of the command class from the database in my forms.</p>
  
  <p>Another piece of code that doesn't work: </p>
  
  <pre><code>    @Override
  protected Object formBackingObject(HttpServletRequest request)
          throws Exception {
      String id = request.getParameter("id");
      Project projectFromConsumer = projectDao.getProjectByOutsideId(id);
      Project project = new Project();
      String title = projectFromConsumer.getTitle();
      project.setTitle(title);
      project.setUrl("projectUrl");
      return project;
  }
  </code></pre>
  
  <p>but this does work:</p>
  
  <pre><code>    @Override
  protected Object formBackingObject(HttpServletRequest request)
          throws Exception {
      String id = request.getParameter("id");
      Project projectFromConsumer = projectDao.getProjectByOutsideId(id);
      Project project = new Project();
      String title = projectFromConsumer.getTitle();
      project.setTitle("projectTitle");
      project.setUrl("projectUrl");
      return project;
  }
  </code></pre>
  
  <p>Now I am really confused. haha. </p>