You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Geoff Peters <Ge...@logic.bm> on 2003/02/19 16:09:46 UTC

default document question

Dumb question here, but how do I change the default document in a webapp from "index.html" in Tomcat Standalone 4.1.18?

Thanks, Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: default document question

Posted by Tim Funk <fu...@joedog.org>.
In web.xml in the welcome file List. Example:
<welcome-file-list>
   <welcome-file>i-need-more-cowbell.html</welcome-file>
   <welcome-file>index.jsp</welcome-file>
   <welcome-file>index.html</welcome-file>
   <welcome-file>index.htm</welcome-file>
</welcome-file-list>

For more detail see section 9.9 of the Servlet 2.3 Spec from sun.

-Tim

Geoff Peters wrote:
> Dumb question here, but how do I change the default document in a webapp from "index.html" in Tomcat Standalone 4.1.18?
> 
> Thanks, Geoff
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: default document question

Posted by "Schleimer, Ben" <be...@yahoo.com>.
Look at the bottom of web.xml in the
<welcome-file-list> tag.

Cheers,
Ben Schleimer


--- Geoff Peters <Ge...@logic.bm> wrote:
> Dumb question here, but how do I change the default
> document in a webapp from "index.html" in Tomcat
> Standalone 4.1.18?
> 
> Thanks, Geoff
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


=====
"The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague" - Edsger Dijkstra

http://snow.prohosting.com/bensch

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org