I am using Apache1.3.23 and Tomcat3.3. When I type "Http://localhost:8080" in the URL address, what I see is the tomcat welcome page. When I configured my own app in "apps-myapp.xml" by using <Context path="" docBase="webapps/myapp" crossContent="true" debug="0" reloadable="true" trusted="false"> </Context> , and type "Http://localhost:8080" again, my file directories under "myapp" are listed. I can only get my home page by typing "Http://localhost:8080/myapp/jsp/index.jsp". How to config the tomcat so that I can get my home page just by typing ""Http://localhost:8080"? Similar problems in Apache1.3.23. When I start apache and type into "local host", I see the apache's default page which told me that the apache web server installed successfully. How to config so that I can see "/myapp/jsp/index.jsp" page when just type "localhost"? Thanks very much!
Tomcat displays the index.html file in the ROOT directory under webapps as the default page. Simply change that page to whatever you want. You can override which is the default directory by changing the server.xml file found in the conf directory.
hi i got some more issue now. basically when i type http://localhost:8080 it goes into the manager context and list the files which are located under catalina_home\server\webapps\manager. So what i did was i created a index.jsp page. so that when i type http://localhost:8080 it goes to index.jsp page and from there i redirect it whichever context i want. i hope this is the best solution. BTW, i am a bit puzzled why does typing http://localhost:8080 went inside the manager context instead of the regular root context which displays the welcome Catalina page. Moreover when i type is it coz i have loaded tomcat on unix.
Let me know. Thanks Rashid
subject: How to see my own home page instead of the Tomcat one?