Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Restart Tomcat and you're done.BR Call up "http://myhost.company.com/" and enjoy.

Addendum : If you are deploying your application as a war file..

The above instructions relate to the situation where you are "manually" deploying your application as a directory-and-files structure under the /webapps directory. If instead you are using the "war" method to deploy your application, the principle is about the same :BR

  • delete the ROOT directoryBR
  • name your war file "ROOT.war" (capitals mandatory)BR
  • drop the ROOT.war file directly in the /webapps directory.BR Tomcat will automatically deploy it.

Wiki Markup
For more information about this topic in general, consult this page : 
\[http://tomcat.apache.org/tomcat-6.0-doc/config/context.html The Context Container\]