Monday, February 3, 2014

Change Tomcat default home screen

Tomcat default home screen is located on C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT\index.jsp. In order to keep all the default functions you should copy the ROOT folder and change its name to "home", then delete everything in ROOT folder and copy your own files into this folder.





















After this modification you can browse the original home screen by typing:
http://localhost:8080/home

The conf\web.xml file define what kind of file can be the start up screen.
















So you can create a index.jsp, index.htm or index.html file as your startup screen.

No comments:

Post a Comment