You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Odo <go...@heaven.club.ne.jp> on 2002/02/06 13:50:35 UTC
index.jsp->index.html
How configure default page from index.jsp to index.html in Tomcat 4.0?
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: index.jsp->index.html
Posted by Julien OIX <ju...@presidence.univ-nantes.fr>.
Odo a écrit :
>
> How configure default page from index.jsp to index.html in Tomcat 4.0?
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
$TOMCAT_HOME/conf/web.xml (webapps default file)
at end, <welcome-file> section ...
hope this helps
--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: julien.oix@presidence.univ-nantes.fr
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: index.jsp->index.html
Posted by Janek Bogucki <ja...@yahoo.co.uk>.
--- Odo <go...@heaven.club.ne.jp> wrote:
> How configure default page from index.jsp to index.html in Tomcat 4.0?
>
>
Add the second servlet-mapping element shown here to $CATALINA_HOME/conf/web.xml
<!-- The mapping for the JSP servlet -->
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
-Janek
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>