Hi,
Comment out any <welcome-file-list> elements in your web.xml and
tomcat's default web.xml, in $CATALINA_HOME/conf.  Note that this will
implicitly enable directory listings.  See the servlet spec, v2.3,
section SRV 13.2 for details.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Johnson, Garrett [mailto:[EMAIL PROTECTED]]
>Sent: Monday, December 09, 2002 2:33 PM
>To: 'Tomcat Users List'
>Subject: Obviating the index.xxxx file in the webapp directory
>
>Ladies and Gentlemen,
>
>How do I get rid of index.html or index.jsp as the default page for my
root
>directory?
>
>That is to say, if I deploy an application to
CATALINA_HOME/webapps/ROOT,
>and I want someone to be able to go to www.mywebpage.com and NOT have
the
>URL get converted to www.mywebpage.com/index.html or
>www.mywebpage.com/index.jsp, how do I do that?  Is it possible in
Tomcat,
>or
>do I need to chain up Apache HTTPD and the fearsome URL-rewite mod?
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user-
>[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to