tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amy...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/conf web.xml
Date Tue, 27 Mar 2001 20:34:01 GMT
amyroh      01/03/27 12:34:01

  Modified:    catalina/src/conf web.xml
  Log:
  Addition of SsiInvokerServlet definition and the mapping for SSI
  
  Revision  Changes    Path
  1.15      +27 -0     jakarta-tomcat-4.0/catalina/src/conf/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/web.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- web.xml	2001/03/14 22:36:36	1.14
  +++ web.xml	2001/03/27 20:34:00	1.15
  @@ -58,6 +58,27 @@
       <load-on-startup>4</load-on-startup>
     </servlet>
   
  +  <!-- SSIInvoker Servlet -->
  +  <servlet>
  +    <servlet-name>ssi</servlet-name>
  +    <servlet-class>org.apache.catalina.servlets.SsiInvokerServlet</servlet-class>
  +    <init-param>
  +      <!-- debug > 0 == debug enabled -->
  +      <param-name>debug</param-name>
  +      <param-value>0</param-value>
  +    </init-param>
  +    <init-param>
  +      <!-- time in seconds before the SSI page expires -->
  +      <param-name>expires</param-name>
  +      <param-value>666</param-value>
  +    </init-param>
  +    <init-param>
  +      <!-- 0 == false; 1 == true -->
  +      <param-name>buffered</param-name>
  +      <param-value>1</param-value>
  +    </init-param>
  +    <load-on-startup>5</load-on-startup>
  +  </servlet>
   
     <!-- The mapping for the default servlet -->
     <servlet-mapping>
  @@ -79,6 +100,12 @@
       <url-pattern>*.jsp</url-pattern>
     </servlet-mapping>
   
  +  <!-- The mapping for SSI-->
  +  <servlet-mapping>
  +    <servlet-name>ssi</servlet-name>
  +    <url-pattern>*.shtml</url-pattern>
  +  </servlet-mapping>
  +  
     <!-- Set the default session timeout (in seconds) -->
     <session-config>
       <session-timeout>30</session-timeout>
  
  
  

Mime
View raw message