File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make the default page with Tomcat?

 
Simeon Shi
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in Tomcat's /conf/web.xml file where you will find this section:

Cool, eh!

Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic