You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Salvatore Balzano <sa...@libero.it> on 2001/12/25 15:07:11 UTC
Start page
Hi,
how can I set the start page for an application (this is, by default,
index.jsp, and I want to make it mystartpage.jsp)
Thanks.
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Start page
Posted by Andy Soedibjo <as...@montrouge.sema.slb.com>.
In Tomcat 4.x, You can see and change it in : web.xml in
<tomcat_directory>\conf
Just change this part as you want.
<!-- ==================== Default Welcome File List
===================== -->
<!-- When a request URI refers to a directory, the default servlet
looks -->
<!-- for a "welcome file" within that directory and, if
present, -->
<!-- to the corresponding resource URI for display. If no welcome
file -->
<!-- is present, the default servlet either serves a directory
listing, -->
<!-- or returns a 404 status, depending on how it is
configured. -->
<!--
-->
<!-- If you define welcome files in your own application's
web.xml -->
<!-- deployment descriptor, that list *replaces* the list
configured -->
<!-- here, so be sure that you include any of the default values
that -->
<!-- you wish to
include. -->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
Hope this useful,
Andy.
At 15:07 25/12/2001 +0100, you wrote:
>Hi,
>how can I set the start page for an application (this is, by default,
>index.jsp, and I want to make it mystartpage.jsp)
>
>Thanks.
>
>
>--
>To unsubscribe: <ma...@jakarta.apache.org>
>For additional commands: <ma...@jakarta.apache.org>
>Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>