tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Index file
Date Mon, 16 Oct 2000 18:41:59 GMT

I've added them into web.xml as you pointed, and also, I've found that I have to
change the DirectoryIndex directive in httpd.conf for Apache as well. Actually,
if I want to set home.jsp as my index file, I have to have "DirectoryIndex
home.jsp" in httpd.conf then I can get my home.jsp
Otherwise, no matter what you've provided in the <welcome-file> tag, Apache just
gives you its index file.

So, does that mean if I want to set up index file for Web application underneath
Tomcat's "webapps" I MUST modify DirectoryIndex in httpd.conf? Or I did
something wrong?



"Drasko Kokic" <> on 10/16/2000 02:18:35 PM

Please respond to
 cc:      (bcc: YUE M. MA/EMPL/MD/Bell-Atl)                   
 Subject: Re: Index file                                      

Make sure to have such a section in your


--- wrote:
> Hi there,
> I have installed Apache and Tomcat.
> I have my web application installed underneath the
> "webapps", called "mywebapp",
> now I would like to set up a default home page for
> my web application like
> "index.jsp" so I can just type "localhost/mywebapp"
> and don't have to give the
> full file name.
> How can I do that?
> Thanks for any suggestions!

Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.

View raw message