Thread: HTTP Status 404
View Single Post
  #8 (permalink)  
Old June 3rd, 2008, 09:32 PM
ouch ouch is offline
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To get tomcat to see your webapp, from Tomcat 5.0, add a new Context fragment file with the filename to be the same as your application folder name (E.g. MyWebApp.xml). You can copy another fragment file like balancer.xml in the directory :-

  <Tomcat installation directory>\conf\Catalina\localhost

When tomcat starts up, you should see Tomcat processing this file, so that it knows where to pick up your app from.

All this information can be found in the book,

    Tomcat - The Definitive Guide, O'Reilly
    (Jason Brittain & Ian F Darwin)

Highly recommended.