> From: Cenk Uysal [mailto:[EMAIL PROTECTED]] > > 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 is the exact problem you get? Have you looked at the log? Is Xindice reachable from other places in Cocoon, e.g. from XSP? (The question is not hard to answer, but almost impossible if you don't provide enough details. And also, please, have patience to wait until the earth will turn arround a little, so the people from the other time zones could get your question in the morning ;)) > > What can be the problem? Error messages, log snippets, other relevant details... Konstantin > > __________________________________________________ > 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]> > --------------------------------------------------------------------- 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]>