an other way is to have only one namespace define two stores and map them to
different scopes (and create the nodes for them)


e.g.




<?xml version="1.0" encoding="UTF-8"?>
<!-- slide logger="log4j.Log4jLogger" logger-level="6" -->
<slide logger="org.apache.slide.util.logger.SimpleLogger" logger-level="6">
  <namespace name="webdav">
    <!-- =============================================================== -->
    <!-- Definition of stores and their scopes                           -->
    <!-- =============================================================== -->
    <definition>
      <!-- ===============================================================
-->
      <!-- Needed for the root URL
-->
      <!-- ===============================================================
-->
      <store name="memory" />

      <store name="db" <plus your parameters> />      
        <store name="file" <specify the file store> />

      <scope match="/" store="memory" />
      <scope match="/db" store="db" />
      <scope match="/file" store="file" />

   </definition>

...

    <data>
...

        <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/db" />
        <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/file" />
      </objectnode>
    </data>
  </namespace>
</slide>



Best regards

Juergen




-----Original Message-----
From: Kurapati, Rama [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 7:29 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Domain.XML configuaration for two Namespaces ?


One way is to have two Slide(WebDAV Servlet) instances . 

Rama

-----Original Message-----
From: Mustafa Cakar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 11:50 AM
To: [EMAIL PROTECTED]
Subject: Domain.XML configuaration for two Namespaces ?


Hi,
I want to let two different STORES show in two different directories. 
DBSTORE under /DB and FILESTORE under /FILES. I wrote two Namespaces in 
DOMAIN.XML. The initialization is successful, but if I access with WEBDAV 
CLIENT SLIDE I see only the first directory (/DB). 
Hour should I configure the DOMAIN.XML file? . 
 Help me? .
 Thanks
mustafa

Reply via email to