title: What does it mean when Spring MVC @Controller returns null view name?
body: <p>I downloaded the code for the <a href="http://blog.springsource.com/2010/07/22/spring-mvc-3-showcase/">Spring MVC 3 Showcase</a>. One thing puzzles me (well, more than one), why does this (edited for concision) sample return <code>null</code>?</p>
  
  <pre><code>@Controller
  @RequestMapping("/form")
  public class FormController {
      @RequestMapping(method=RequestMethod.POST)
      public String processSubmit(@Valid FormBean form, 
                  BindingResult result, 
                  WebRequest webRequest, 
                  HttpSession session, Model model) {
  
          if (result.hasErrors()) {
               return null;
          } else {
              session.setAttribute("form", form);
              return "redirect:/form";            
          }
      }
  }
  </code></pre>