Spring MVC Thymeleaf Error: Parameter conditions not met for actual request parameters

In the controller class you are using "params={"submitInput"}" which means the url expects that parameter. Seems like you are not passing expected parameter "submitInput" in url, like

localhost:8080/{appname}/greeting?submitInput={someinput}