tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Tomcat & Cocoon Question
Date Wed, 01 May 2002 13:26:07 GMT
Sure,

Add the following to your web.xml...

<welcome-file-list>
         <welcome-file>index.xml</welcome-file>
         <welcome-file>index.html</welcome-file>
         <welcome-file>index.htm</welcome-file>
         <welcome-file>index.jsp</welcome-file>
</welcome-file-list>

At least you can do that in the Servlet 2.3 spec.  I would suggest 
upgrading to Tomcat 4.x.x anyway.

Jake

At 08:45 AM 5/1/2002 -0400, you wrote:
>Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my Webserver.
>I have Tomcat processing my Cocoon xml, and IIS doing all of the static
>pages.
>
>My problem is this.
>
>If I go to http://foo.bar.com/index.xml it works fine, but if I go to
>http://foo.bar.com/ it gives me a directory listing of what is in that
>directory.
>Id like for it to default to the index.xml file.
>
>Can this be done??
>
>Thanks
>Anthony Diodato
>
>
>Anthony Diodato
>Webmaster - IT
>Prophet 21, Inc.
>19 West College Avenue
>Yardley, PA 19067
>1-800-776-7438, ext. 4600
>Fax: 215-321-8014
>adiodato@p21.com
>http://www.p21.com/
>Prophet 21 -- Powering the Distribution Industry for the Digital Age
>
>For the latest press releases from Prophet 21 --
>http://www.p21.com/press/press.html
>*       2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
>(E2E) Commerce
>*       2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
>*       2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
>For the latest articles on Prophet 21
>http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
>htm
>http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
>http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
>
>
>
>
>Visit our website at http://www.p21.com/visit
>The information in this e-mail is confidential and may contain legally
>privileged information.  It is intended solely for the person or entity to
>which it is addressed.  Access to this e-mail by anyone else is
>unauthorized. If you are not the intended recipient, any disclosure,
>copying, distribution, action taken, or action omitted to be taken in
>reliance on it, is prohibited and may be unlawful.  If you received this
>e-mail in error, please contact the sender and delete the material from any
>computer.
>
>
>
>--
>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message