This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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: 12890
    
    5
Look in Tomcat's /conf/web.xml file where you will find this section:

Cool, eh!

Bill
 
 
subject: How to make the default page with Tomcat?