forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf web.xml
Date Sun, 22 Jun 2003 12:31:47 GMT
jefft       2003/06/22 05:31:47

  Modified:    src/resources/conf web.xml
  Log:
  Synch with Cocoon
  
  Revision  Changes    Path
  1.6       +21 -37    xml-forrest/src/resources/conf/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/web.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- web.xml	21 Jun 2003 08:09:10 -0000	1.5
  +++ web.xml	22 Jun 2003 12:31:47 -0000	1.6
  @@ -108,34 +108,31 @@
       <!--
         This parameter is used to list classes that should be loaded
         at initialization time of the servlet.
  -      Usually this classes are JDBC Drivers used
  +      For example, JDBC Drivers used need to be named here.
  +      Additional entries may be inserted here during build depending on your 
  +      build properties.
       -->
       <init-param>
         <param-name>load-class</param-name>
         <param-value>
  +        <!-- For parent ComponentManager sample:
  +        org.apache.cocoon.samples.parentcm.Configurator -->
           <!-- For IBM WebSphere:
           com.ibm.servlet.classloader.Handler -->
  -
  -        <!-- For Database Driver: -->
  -        <!--
  -        org.hsqldb.jdbcDriver -->
  -
  -        <!-- For PostgeSQL Database: 
  -             org.postgresql.Driver -->
  -
  -        <!-- For Oracle Database:
  -             oracle.jdbc.driver.OracleDriver -->
  -
  -        <!-- ODBC 
  -             sun.jdbc.odbc.JdbcOdbcDriver -->
  - 
  -        <!-- For parent ComponentManager sample:
  -        org.apache.cocoon.samples.parentcm.Configurator
  -        -->
         </param-value>
       </init-param>
   
       <!--
  +      Causes all files in multipart requests to be processed.
  +      Default is false for security reasons.  
  +      Unsupported values will be interpreted as false.
  +    -->
  +    <init-param>
  +      <param-name>enable-uploads</param-name>
  +      <param-value>false</param-value>
  +    </init-param>
  +    
  +    <!--
         This parameter allows to specify where Cocoon should put uploaded files.
         The path specified can be either absolute or relative to the context 
         path of the servlet. On windows platform, absolute directory must start
  @@ -151,11 +148,12 @@
   
       <!--
         Causes all files in multipart requests to be saved to upload-dir.
  -      Default is true.  Unsupported values will be interpreted as false.
  +      Default is true for security reasons.  
  +      Unsupported values will be interpreted as false.
       -->
       <init-param>
         <param-name>autosave-uploads</param-name>
  -      <param-value>false</param-value>
  +      <param-value>true</param-value>
       </init-param>
   
       <!--
  @@ -227,7 +225,7 @@
         String as a parameter. That String will be equal to the text after the
         '/'.
   
  -      Cocoon honors the LogEnabled and Initializable interfaces for this class,
  +      Cocoon honors the LogEnabled, Initializable and Disposable interfaces for this class,
         if it implements them.
   
         If you uncomment the following lines the parent CM is set to the Parent CM sample,
which will look up
  @@ -240,19 +238,6 @@
       -->
   
       <!--
  -      This parameter allows you to select the request factory. Possible
  -      choices are as follows:
  -        - org.apache.cocoon.components.request.MultipartRequestFactoryImpl
  -          This is the default factory.
  -        - org.apache.cocoon.components.request.SimpleRequestFactoryImpl
  -          This factory does not allow uploads.
  -    -->
  -    <init-param>
  -      <param-name>request-factory</param-name>
  -      <param-value>org.apache.cocoon.components.request.MultipartRequestFactoryImpl</param-value>
  -    </init-param>
  -
  -    <!--
         If you set this parameter to 'true' or 'yes', Cocoon will add processing
         time to the end of each response. Value 'hide' adds processing time as an HTML
         comment. By default, processing time is not added (corresponds to value 'no').
  @@ -303,7 +288,8 @@
       -->
   
       <!--
  -      Set form encoding. This will be the character set used to decode request parameters

  +      Set form encoding. This will be the character set used to decode request parameters.
  +      If not set the ISO-8859-1 encoding will be assumed. 
       -->
       <!--
       <init-param>
  @@ -386,8 +372,6 @@
       <extension>grm</extension>
       <mime-type>text/plain</mime-type>
     </mime-mapping>
  -
  -
   
     <mime-mapping>
       <extension>swf</extension>
  
  
  

Mime
View raw message