index.jsp-index.html

2002-02-06 Thread Odo
How configure default page from index.jsp to index.html in Tomcat 4.0?


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


RE: index.jsp-index.html

2002-02-06 Thread Walter De Wit
In %CATALINA_HOME%\conf\web.xml
This web.xml is loaded for every web application before the web.xml of the
web application itself is loaded.
In this 'global' web.xml you can specify defaults.


-Original Message-
From: Odo [mailto:[EMAIL PROTECTED]]
Sent: woensdag 6 februari 2002 13:51
To: Tomcat Users List
Subject: index.jsp-index.html


How configure default page from index.jsp to index.html in Tomcat 4.0?


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


Re: index.jsp-index.html

2002-02-06 Thread Janek Bogucki

 --- Odo [EMAIL PROTECTED] 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-namejsp/servlet-name
url-pattern*.jsp/url-pattern
  /servlet-mapping

  servlet-mapping
servlet-namejsp/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:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]