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?

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

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to