title: How to work with a shared Tomcat?
body: <p>Sorry, but I tried searching for this subject, but I didn't find related to my problem.
  Recently, I bought a  domain and web hosting for it. I bought it especially for using it for my Java projects.
  I have Tomcat available as server on the hosting.<br>
  My question is: how do I work with a hosted Tomcat, which, in my opinion, it is quite different from localhost (where you could have unlimited access)?</p>
  
  <p><br>
  For example, if I create a Spring project that looks like this: <br></p>
  
  <blockquote>
    <p>project-name</p>
    
    <blockquote>
      <p>src <br>
      war</p>
      
      <blockquote>
        <p>index.jsp <br>
        WEB-INF</p>
        
        <blockquote>
          <p>web.xml </p>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>The index.jsp outputs a simple <strong>This is a test</strong> <br>
  web.xml</p>
  
  <p><code>&lt;welcome-file-list&gt;</code><br><code>
  </code>&nbsp;&nbsp;&nbsp;<code>&lt;welcome-file&gt;</code><br><code>
  </code>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<code>index.jsp</code><br><code>
  </code>&nbsp;&nbsp;&nbsp;<code>&lt;/welcome-file&gt;</code><br><code>
    &lt;/welcome-file-list&gt;</code></p>
  
  <p>I created an Ant build.xml that will build the project, but when I access from <code>http://domain.com/project-name</code> it will not work, and I only cand access the file from <code>http://domain.com/project-name/war</code></p>
  
  <p>If I had done this on localhost, I'd deploy it in tomcat-path/webapps, but how does this work online?</p>