shannon     2002/07/02 16:19:21

  Modified:    src/documentation/xdocs/faq faq-configure-c2.xml
  Log:
  Added new FAQ based on configuring
  location of upload directory asked
  recently on cocoon-users
  
  Revision  Changes    Path
  1.2       +19 -3     xml-cocoon2/src/documentation/xdocs/faq/faq-configure-c2.xml
  
  Index: faq-configure-c2.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/faq/faq-configure-c2.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- faq-configure-c2.xml      13 May 2002 17:55:25 -0000      1.1
  +++ faq-configure-c2.xml      2 Jul 2002 23:19:21 -0000       1.2
  @@ -5,7 +5,7 @@
   
   <faq>
    <question>
  -  How do i setup my own .roles file?
  +  How do I setup my own .roles file?
    </question>
    <answer>
     <p>
  @@ -36,7 +36,7 @@
   
   <faq>
     <question>
  -  Where do i setup LogKit in Cocoon?
  +  Where do I setup LogKit in Cocoon?
     </question>
     <answer>
     <p>1. <code>{cocoon}/WEB-INF/logkit.xconf</code>:</p>
  @@ -65,7 +65,23 @@
     </answer>
   </faq>
   
  -
  +<faq>
  +<question>
  +How can I change the physical location of my upload directory?
  +</question>
  +<answer>
  +  <p>Look in web.xml file located in &lt;your-webapp&gt;/WEB-INF. There you will 
find the following snippet:</p>
  +  <source><![CDATA[
  +    <init-param>
  +      <param-name>upload-directory</param-name>
  +      <param-value>/WEB-INF/work/upload-dir</param-value>
  +    </init-param>
  +]]></source>
  +  <p>
  +The above snippet shows the default path to the upload directory, specified within 
&lt;param-value&gt;. Replace it with a different path to your upload directory, 
relative to the context path of the servlet. 
  +  </p>
  +</answer>
  +</faq>
   
   
   </faqs>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to