Hi Longtai,
<x-tad-bigger>Another question, when I dumped Xindice.war into  tomcat/webapps directory, it will create the xindice folder under tomcat/webapps.</x-tad-bigger>
yes, this is the behaviour of a web container (tomcat), it will explode the war (Web ARchive) file for you. You may want to read the J2EE web container specs for more info.

<x-tad-bigger> And I notice the database is under tomcat/webapps/xindice/web-inf/db folder……</x-tad-bigger>
It is documented in one of the guide - the default db location is found as per your discovery.

<x-tad-bigger>So when I use Netbeans to build web applications to access the Xindice database,</x-tad-bigger><x-tad-bigger> </x-tad-bigger><x-tad-bigger>which directory do I mount?</x-tad-bigger>

There is no way you can mount the db, rather you will be communicating with it remotely via a uri i.e. xmldb:xindice://hostname:port//db, the other way is to use the embedded version of xindice which i will be exploring later once i can comfortably access the remote db - fyi, i only started using xindice only 2-3 days ago :)

<x-tad-bigger>The one at tomcat/webapps/xindice OR I can create another directory that contain my web-inf files like tomcat/webapps/test and then use codes to point the db to the path at tomcat/webapps/xindice/web-inf/db</x-tad-bigger>
you can set the remote db to a specific location, i cant recall of hand, pls check the guides. it is document somewhere.

wish you luck
chung-onn

Reply via email to