xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Allbeury" <m...@clinicdesign.com.au>
Subject Using Xindice 1.1 from JSP/Java
Date Mon, 02 Jun 2003 04:55:13 GMT
Hi there,
 
Does anyone know how to connect to an Xindice 1.1 database running under
Tomcat, created from the WAR file?
With version 1 I used:
 
db = (Database)Class.forName
("org.apache.xindice.client.xmldb.DatabaseImpl").newInstance ();
DatabaseManager.registerDatabase (db);
col = DatabaseManager.getCollection ("xmldb:xindice:///db");
 
Which worked when Xindice was running as an application.
 
Any help would be much appreciated.
 
Cheers
 
Matt
 
-----------------------------------------
Matt Allbeury
Senior Web Developer
Clinic Design & New Media
31 Fullarton Road
Kent Town
SA 5067 
Ph: 08 8363 8367
Fax: 08 8363 8379 
 

Mime
View raw message