Where to put sitemap.xml and robots.txt in case of a Tomcat server with several Webapps
<p>I have a Tomcat server and several Webapps (webapp1, webapp2, ...).</p>

<p>Where do the <code>sitemap.xml</code> and <code>robots.txt</code> files should be put?</p>

<p>Do I need one <code>sitemap.xml</code> file and one <code>robots.txt</code> file for each Webapp?</p>

<p>Shall I put <code>sitemap.xml</code> and <code>robots.txt</code> under respectively:</p>

<p><code>"where_tomcat_is_installed/webapps/webapp1/"</code>, </p>

<p><code>"where_tomcat_is_installed/webapps/webapp2/"</code>, </p>

<p>...</p>

<p>Shall I disallow <code>/WEB-INF/lib/</code>?</p>

<p>If not, is it sufficient to put the following contents into <code>robots.txt</code>:</p>

<pre><code>User-agent: *
</code></pre>