cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cenk Uysal <cenk_uy...@yahoo.com>
Subject Xindice and Cocoon
Date Thu, 27 Jun 2002 17:21:10 GMT
Hi,

I try to use Xindice as my XML source database. I know that Cocoon
has special generators for this purpose. But I try to do this by the
help of JSP(don't ask why :)). So we prepared a library which allows
us to connect Xindice from JSP and get XML content by Xpath function
that we enter.
Here is a sample JSP:

<%@ page language='java'%>
<%@ taglib uri="deu-taglib.tld" prefix="deu"%>
<data>
  <deu:connection url="xmldb:xindice:///db/cse">
		<deu:query select="//employees/employee/name"/>
  </deu:connection>
</data>

Here <deu:connection> and <deu:query> tags are defined by us. They
make a connection to Xindice and get the XML with restrictions given
in <deu:query> tag. 

Normally, this code runs in ROOT directory of Tomcat. But I want to
run this JSP code by the help of JSP generator. But I get
JSPGenerator problem from Cocoon.

I think I can't reach Xindice because this time JSP must be under
Cocoon directory. I know normally JspGenerator runs without problem.

What can be the problem? I need immediate help.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message