Re: JSP, JavaBeans and Xindice
"Lisa McCabe" <[email protected]>
| Newsgroups | gmane.text.xml.xindice.user |
|---|---|
| Message-ID | <002901c591d4$c3c24430$8ed3d442@MegaCool> |
Hi, I have run my query with this URI on my standalone java prog so I am confident that they are correct. I have added print statements all over the code and once the line Class c = Class.forName(driver); is called, all print stmts stop. Its like System.out gets redirected. Very strange. Should I be using embed.DatabaseImpl? Thanks for helping, Lisa ----- Original Message ----- From: Marcin Goldyn To: [email protected] Sent: Monday, July 25, 2005 4:57 PM Subject: Re: JSP, JavaBeans and Xindice it looks ok did u check if URI is ok? or in this loop while (resourceIterator.hasMoreResources()) { Resource resource = resourceIterator.nextResource(); myResult.append((String) resource.getContent()); } try to put System.out.println((String) resource.getContent()); there and check if it print something. It can be also a wrong XPath Query. Try very simple query at the first time. Marcin Goldyn