File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12760
    
    5
Look in Tomcat's /conf/web.xml file where you will find this section:

Cool, eh!

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