Sorry, but I tried to find this topic, but I did not find it related to my problem. I recently bought a domain and web hosting for it. I bought it specifically for using it for my Java projects. I have Tomcat available as a server on the hosting.
My question is: how do I work with hosted Tomcat, which, in my opinion, is very different from localhost (where you can have unlimited access)?
For example, if I create a Spring project that looks like this:
project-name
src
war
index.jsp
WEB-INF
web.xml
index.jsp prints simple This is a
web.xml test
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
</welcome-file-list>
Ant build.xml, , http://domain.com/project-name, , http://domain.com/project-name/war
localhost, tomcat-path/webapps, ?