Deploying Web Applications to Tomcat
Subject:   Creating and Deploying a WAR File Step 4
Date:   2002-08-20 15:03:09
From:   taylormaai
In step 4 of "Creating and Deploying a WAR File" section, I think it would of been nice to mention you have to change the context entry value to docBase="onjava.war".

Did you know that if you delete context entry, and delete the real webapps/onjava directory and leave the login.war file in webapps, the default action of tomcat is to extract that war file.
But one problem, the context entry is now missing and wont serve it. However, if you put in the context entry leaving the docBase="onjava" it will not extract the onjava.war. Do you know what i'm doing wrong if i desire for it to extract rather than serve from the war?

Other than that, it was a great primer article!


1 to 2 of 2
1 to 2 of 2