On Ubuntu 16.04, I stop the tomcat7 server with:
sudo tomcat7 stop
Then I created a war file as follows:
mkdir test
created index.html within test
jar -cf test.war test
I copy the war file into the webapps directory:
webapps/test.war
I bring up tomcat using the command: sudo service tomcat7 start
which works, so that the following url shows the server working:
localhost:8080
As I understand it, the following URL should go to the .war file localhost:8080/test
It does not work. (404 error) What am I doing wrong?