title: I cannot access Robots.txt in Spring-MVC
body: <p>I am trying to give access to <code>robots.txt</code> in Spring-MVC. To test the code, I put <code>robots.txt</code> in <code>WebContent</code>,<code>Root</code> and <code>WEB-INF</code> but I cannot access to any of them.</p>
  
  <p>I've already applied answers of these questions <a href="https://stackoverflow.com/questions/11786115/spring-mvc-website-on-root">1</a>,<a href="https://stackoverflow.com/questions/13891284/where-to-put-robots-txt-in-tomcat-7">2</a>,<a href="https://stackoverflow.com/questions/2984607/where-to-put-robots-txt-file?rq=1">3</a> to no avail.</p>
  
  <p><strong>MyCode</strong></p>
  
  <pre><code>&lt;mvc:resources mapping="/resources/**" location="/resources/" /&gt;
  &lt;mvc:resources mapping="/robots.txt" location="/robots.txt" order="0" /&gt;
  &lt;mvc:annotation-driven /&gt;
  </code></pre>