I wanted to have an index.htm page display for the webserver root
http://localhost:8080/index.htm

--- I set  in server.xml: ---
<Context path="/" docBase="webapps/test" crossContext="false" debug="1"
reloadable="false"/>
It does what I want...

---Then upon Tomcat startup :----
Automatically, the 2nd context appears: /webapps/test

--My problem is that I startup a servlet automatically when tomcat
starts and *both* contexts initialize.  My servlet  init is rather time
consuming and I hate to see it (wait for it)  twice... not to mention
system resources are being consumed.

Question:(1) Is there another way to display a webapp  index page
without assigning the above context path? (as root) likely not. 
(2) Is there a way to prevent the second context from loading?

Thanks for any suggestions!

Bob



Reply via email to