Accessing port 80 for my Tomcat installation yields the default app , "welcome to Tomcat". This is a useful app, and I use it often to obtain access to Tomcat management and administration. However, I want to setup another web app as the default.
I am guessing that the way to go about this would be to :
1. deinstall the "welcome to Tomcat" web app and 2. re-install it with a file URL and context path 3. install my web app as the default app.
I don't know what procedure to use to accomplish (3) above, and I'm not sure about this plan. I could just try it and see if it works, but I can't afford the risk since I already have 6 web apps being served by this installation and I don't want to screw things up. Manager Help doesn't seem to provide any help on this issue (unless I overlooked something). Does anybody know how I can get this to work?
Author and all-around good cowpoke
posted 11 years ago
There are only two reasons that you see "Welcome to Tomcat" 1. The ROOT directory is what you get by default 2. ROOT has an index.jsp file and the <welcome-file-list> element of the default web.xml has index.jsp as one of the welcome file defaults that the default servlet looks for.
Just substitute your own welcome file and WEB-INF under ROOT and you are in business. Bill