my dog learned polymorphism*
The moose likes Servlets and the fly likes How to make the default page with Tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to make the default page with Tomcat?" Watch "How to make the default page with Tomcat?" New topic
Author

How to make the default page with Tomcat?

Simeon Shi
Ranch Hand

Joined: Dec 09, 2001
Posts: 35
When I type the URL "http://127.0.0.1:8080",the index.jsp in ROOT directory is shown,which means that the index.jsp is the default page in the default root directory "ROOT".My question is how to make a page default?
Thanks in advance.
simeon
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
Look in Tomcat's /conf/web.xml file where you will find this section:

Cool, eh!

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make the default page with Tomcat?
 
Similar Threads
[Tomcat] Munipulating slash
Precompiled index.jsp - how to map to webroot?
Changing the default Page in Tomcat
Changing the default Page in Tomcat
how to deploy web in tomcat