tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barthélémy TEHAM <>
Subject Re: Default home for server
Date Sat, 28 Apr 2001 08:19:27 GMT

--- Krishna Kant T <> a écrit : > hi guys
> i need to set a jsp present in webapps/ROOT/myDir as the default home page
> for the server. i have tried
> setting it in web.xml as follows
You have to change your DocumentRoot path in the configuration file
of your web server
If you use Apache server:
change the line 
DocumentRoot "old_path" with
DocumentRoot "<tomcat_home>/webapps/ROOT/myDir"
And add in directive DirectoryIndex home.jsp

You also have to configure your Directory in Apache configuration file

Barthélémy TEHAM - 
E-mail :

Do You Yahoo!? -- Pour faire vos courses sur le Net, 
Yahoo! Shopping :

View raw message