In his article
Deploying Web Applications to Tomcat, James Goodwill writes:
The steps required to "WAR-up" your /onjava web application and deploy it are as follows:
1. Change to the root directory of your web application. In this case the root directory would be TOMCAT_HOME/webapps/onjava/.
2. Archive the web application:
jar cvf onjava.war .
3. Copy the resulting WAR file, onjava.war, to the TOMCAT_HOME/webapps directory.
Whereas in the Sybex cert book, it says (p.119): The WAR file is usually stored in the context directory. So, in the previous step 3, we would copy it to TOMCAT_HOME/webapps/onjava.
So who is right, or are they both right, depending on how you jar up?
Alan