You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2003/12/06 18:53:43 UTC

cvs commit: jakarta-tomcat-catalina/webapps/docs/config resources.xml

remm        2003/12/06 09:53:43

  Modified:    webapps/docs/config resources.xml
  Log:
  - The Context (or DefaultContext) element should now be used to configure
    the file based resources (which is the default). Other types of resources
    can have their properties set through this element.
  
  Revision  Changes    Path
  1.6       +2 -49     jakarta-tomcat-catalina/webapps/docs/config/resources.xml
  
  Index: resources.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/config/resources.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- resources.xml	30 Nov 2003 14:35:45 -0000	1.5
  +++ resources.xml	6 Dec 2003 17:53:43 -0000	1.6
  @@ -70,55 +70,8 @@
     <subsection name="Standard Implementation">
   
       <p>The standard implementation of <strong>Resources</strong> is
  -    <strong>org.apache.naming.resources.FileDirContext</strong>.
  -    It supports the following additional attributes (in addition to the
  -    common attributes listed above):</p>
  -
  -    <attributes>
  -
  -      <attribute name="allowLinking" required="false">
  -        <p>If the value of this flag is <code>true</code>, symlinks will be
  -        allowed inside the web application, pointing to resources outside the
  -        web application base path. If not specified, the default value
  -        of the flag is <code>false</code>.</p>
  -        <p><b>NOTE: This flag MUST NOT be set to true on the Windows platform
  -        (or any other OS which does not have a case sensitive filesystem),
  -        as it will disable case sensitivity checks, allowing JSP source code
  -        disclosure, among other security problems.</b></p>
  -      </attribute>
  -
  -      <attribute name="cached" required="false">
  -        <p>This boolean flag indicates if the resources should be cached. It
  -        defaults to <code>true</code>.</p>
  -      </attribute>
  -
  -      <attribute name="cacheMaxSize" required="false">
  -        <p>Maximum size in kilobytes (KB) of the cache associated with 
  -        the resources, if cached is set to true. It defaults 
  -        to <code>10240</code> (10 megabytes).</p>
  -      </attribute>
  -
  -      <attribute name="cacheTTL" required="false">
  -        <p>Amount of time in milliseconds between cache entries revalidation.
  -        If not specified, the default value is <code>5000</code> 
  -        (5 seconds).</p>
  -      </attribute>
  -
  -      <attribute name="caseSensitive" required="false">
  -        <p>This boolean flag toggles case sensitivity checks. 
  -        Defaults to <code>true</code>.</p>
  -        <p><b>NOTE: This flag MUST NOT be set to false on the Windows platform
  -        (or any other OS which does not have a case sensitive filesystem),
  -        as it will disable case sensitivity checks, allowing JSP source code
  -        disclosure, among other security problems.</b></p>
  -      </attribute>
  -
  -      <attribute name="docBase" required="false">
  -        <p>This is the functional equivalent to the <em>Document Base</em> 
  -        of a <a href="context.html">Context</a>.</p>
  -      </attribute>
  -
  -    </attributes>
  +    <strong>org.apache.naming.resources.FileDirContext</strong>, and 
  +    is configured by its parent Context element.</p>
   
     </subsection>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org