ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  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!


Thankyou


1 to 2 of 2
  1. Creating and Deploying a WAR File Step 4
    2003-10-15 12:14:27  anonymous2 [View]

  2. Creating and Deploying a WAR File Step 4
    2002-08-26 10:44:05  slimd [View]

1 to 2 of 2