1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Kansas City
    Rep Power

    Tomcat context problem

    I have jk2 apache and tomcat working together. Now I need to add a new application folder and have that be the root application displayed:

    Right now I can hit http://servername/ and it is displaying the Tomcat welcome screen.

    How can I change that to the root document of the new application folder.


    Where can I determine the root document name. Instead of index.html I want myfile.jsp.

    Thank you for your help.
  2. #2
  3. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Outside US
    Rep Power
    Ti change the root document name you'll have to change web.xml adding
    <welcome-file>myfile.jsp</welcome-file> in <welcome-file-list>.
    To add a context you should really RTFM (in recent Tomcats there is a web administration interface to do this).

IMN logo majestic logo threadwatch logo seochat tools logo