title: Servlet doesn't work
body: <p>I'm doing a web application in Java and I want to use Servlets with tomcat.</p>
  
  <p>In my local environment with Netbeans on Windows and everything works perfectly. The problem is that the OS of my server is Ubuntu and when I copy the build folder generated by Netbeans, my web application doesn't work.</p>
  
  <p>I have discovered that my problem is my web.xml file. When it's inserted inside the WEB-INF folder, the index.html doesn't display. Need I anything special to run it on Ubuntu?</p>
  
  <p>Thank you!</p>
  
  <p>My web.xml is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app version="3.0" 
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
                            http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;ServletManager&lt;/servlet-name&gt;
          &lt;servlet-class&gt;Servlets.ServletManager&lt;/servlet-class&gt;
      &lt;/servlet&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;ServletManager&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/ServletManager&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;session-config&gt;
          &lt;session-timeout&gt;
              30
          &lt;/session-timeout&gt;
      &lt;/session-config&gt;
  &lt;/web-app&gt;
  </code></pre>