Problem scenario
Your Tomcat server is has been configured to serve as a web server. You have access to the back-end Linux server. But you do not know what directory corresponds with the URL of the host. How do you find what the default directory is for files that are presented on the web?
Solution
From the back-end, run this: sudo find / -name index.html | grep tomcat
Look for a WEB-INF or webapps directory.
…
Continue reading “How Do You Find the Default Directory for Tomcat when It Acts as a Web Server?”