title: Spring MVC Thymeleaf Error: Parameter conditions not met for actual request parameters
body: <p>I'm new to Spring MVC Thymeleaf and trying to get some simple input/output working. The below code is supposed to accept text input, then output it when 
  the "Submit" button is pressed. However, I get the following error:</p>
  
  <blockquote>
    <p>org.springframework.web.bind.UnsatisfiedServletRequestParameterException: Parameter conditions "submitInput" not met for actual request parameters:</p>
  </blockquote>
  
  <p><strong>InputHolder.java</strong></p>
  
  <pre><code>public class InputHolder {
      public String input;
  }
  </code></pre>
  
  <p><strong>GreetingController.java</strong></p>
  
  <pre><code>@Controller
  public class GreetingController {
  
      @RequestMapping(value="/greeting", params={"submitInput"})
      public String recieveInput(final InputHolder inputHolder, final BindingResult bindingResult, Model model) {
          model.addAttribute("input", inputHolder.input);
          return "greeting";
      }
  
  }
  </code></pre>
  
  <p><strong>greeting.html</strong></p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html xmlns:th="http://www.thymeleaf.org"&gt;
  &lt;head&gt;
      &lt;title&gt;Test Page&lt;/title&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div&gt;
          &lt;form action="/greeting" th:object="${inputHolder}" method="POST"&gt;
              &lt;fieldset&gt;
                  &lt;div&gt;
                      &lt;label for="basicInput"&gt;&lt;/label&gt;
                      &lt;input type="text" th:field="*{basicInput}" /&gt;
                  &lt;/div&gt;
                  &lt;div&gt;
                      &lt;button type="submit" name="submitInput"&gt;Submit Input&lt;/button&gt;
                  &lt;/div&gt;
                  &lt;div&gt;
                      &lt;p th:text="'Output: ' + ${input}"&gt;&lt;/p&gt;
                  &lt;/div&gt;
              &lt;/fieldset&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>