You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2002/08/05 13:27:26 UTC

cvs commit: jakarta-slide/src/conf/webapp web.xml

juergen     2002/08/05 04:27:26

  Modified:    src/conf/webapp web.xml
  Log:
  Added init parameter optimizePropfindOutput (used by PropFindMethod).
  (ralf)
  
  Revision  Changes    Path
  1.18      +16 -0     jakarta-slide/src/conf/webapp/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/conf/webapp/web.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- web.xml	21 Jun 2002 07:48:06 -0000	1.17
  +++ web.xml	5 Aug 2002 11:27:26 -0000	1.18
  @@ -85,6 +85,22 @@
               </description>
           </init-param>
           <init-param>
  +            <param-name>optimizePropfindOutput</param-name>
  +            <param-value>true</param-value>
  +            <description>
  +                If set to false, the PropFindMethod will first create a (large) JDOM 
  +                document in memory and then write it to the response stream. 
  +                If set true, the PropFindMethod will write results to the stream as
  +                soon as they are available. This will reduce memory consumption
  +                in the case of large responses (PROPFIND on many resources).
  +                The output of these two variants differ slightly, since in optimized 
  +                mode the D:DAV namespace is declared in the multistatus element AND
  +                in all response elements. Since this is still a valid XML document
  +                it shouldn't be a problem, but in case you encounter any diffculties
  +                this switch provides a way to get around it. 
  +            </description>
  +        </init-param>
  +        <init-param>
               <param-name>debug</param-name>
               <param-value>0</param-value>
           </init-param>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>