title: how to upload netbean java project on web server
body: <p>I have developed a project in netbeans using tomcat. But I am new to web hosting. I dont know what is the procedure to upload it in the server. I have used mysql database. 
  suppose i go for a free hosting like 000webhost if i will upload whole the project folder then will it work or i have something else to do?</p>
  
  <pre><code>&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;home&lt;/servlet-name&gt;
      &lt;servlet-class&gt;home&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet&gt;
      &lt;servlet-name&gt;hp&lt;/servlet-name&gt;
      &lt;servlet-class&gt;home&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet&gt;
      &lt;servlet-name&gt;rg&lt;/servlet-name&gt;
      &lt;servlet-class&gt;rg&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet&gt;
      &lt;servlet-name&gt;dat&lt;/servlet-name&gt;
      &lt;servlet-class&gt;dat&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;home&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/home&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;dat&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/dat&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;
  </code></pre>
  
  <p></p>