title: java.lang.IllegalStateException: Errors/BindingResult argument declared without preceding model attribute
body: <p>With my current setting / is the home page of the website as following</p>
  
  <pre><code>localhost:2001/MyProject/
  </code></pre>
  
  <p>I have a proper controller for following address, but when I type following, it does not trigger respective controller.</p>
  
  <pre><code>  localhost:2001/MyProject/find/Jack/Moore
  </code></pre>
  
  <p>I tried / in my servlet-mapping, which throws following exception</p>
  
  <pre><code>java.lang.IllegalStateException: Errors/BindingResult argument declared without preceding model attribute. Check your handler method signature!
  </code></pre>
  
  <p><strong>web.xml</strong></p>
  
  <pre><code>...
  &lt;listener&gt;
          &lt;listener-class&gt;org.apache.tiles.extras.complete.CompleteAutoloadTilesListener
          &lt;/listener-class&gt;
      &lt;/listener&gt;
      &lt;listener&gt;
          &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener
          &lt;/listener-class&gt;
      &lt;/listener&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;pr&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet
          &lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;pr&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.htm&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
          ....
  </code></pre>
  
  <p><strong>In controller</strong></p>
  
  <pre><code>    @RequestMapping(value = "/find/{name}/{surname}", method = RequestMethod.GET)
  public String findUser(@PathVariable String name,
          @PathVariable String surname, BindingResult result,
          Map&lt;String, Object&gt; model) {
      ...
          model.put("selections", results);
          return "name/list";
      }
  
  }
  </code></pre>