title: Spring - JSP form:input on jsp page error: jasperexception
body: <p>When I put the code inside the form:form tag on view cadastro.jsp:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
  &lt;label for="nome" class="col-sm-2 control-label"&gt; name Project: &lt;/ label&gt;
  &lt;div class="col-sm-10"&gt;
  &lt;input for="nome" class="form-control" /&gt;
  &lt;form:errors path="nome" /&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Its works</strong></p>
  
  <p>but when i put</p>
  
  <pre><code>&lt;div class="form-group"&gt;
  &lt;label for="nome" class="col-sm-2 control-label"&gt; Nome do Projeto: &lt;/ label&gt;
  &lt;div class="col-sm-10"&gt;
  &lt;form:input  cssClass="form-control" path="nome" /&gt;
  &lt;form:errors path="nome" /&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>not work because the form: input tag</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>HTTP Status 500 - An exception occurred processing JSP page /WEB-INF/view/cadastro.jsp at line 34</p>
  </blockquote>
  
  <p>ProjetroController</p>
  
  <pre><code>@RequestMapping(value = "/novoProjeto", method = RequestMethod.POST)
  public String adicionarProjeto(@Valid @ModelAttribute("projeto") Projeto projeto, BindingResult result) {
      if(result.hasErrors()) {
          return("cadastro");
      }
      projeto.setStatus("NOVO");
      this.pc.salvar(projeto);
      return "redirect:/listar";
  
  }
  </code></pre>