Hello,

I'm working with XForms and Xindice through a servlet. I want the servlet
response my XForms application with a XML document (content-type:
application/xml).

I can put the XML document sent by XForms in the Xindice DB, but I don't
know how to get a XML document of the Xindice DB and put it in the response
object of the servlet.

I tried with the addressbook example, but it works with a set of elements,
not with XML document directly, isn't it? And then I have to build the XML
doc.
Is possible to simply get the XMLdoc from Xindice as some kind of resource
and simply put it in the response object using some method?

I'm newbie in Java (and Xforms, and Xindice, and Tomcat...) and I think I'm
going crazy with so many libraries, methods, etc. I need help. Thanks.

PD: I hope this helps,
My application jump to a page that shows:
[EMAIL PROTECTED]

But the source code of the page is:

<html>
<head><title>Apache Tomcat/4.1.34-LE-jdk14 - Error
report</title><STYLE>...</STYLE></head>
<body>
<h1>HTTP Status 405 - The specified HTTP method is not allowed for the
requested resource</h1>
...
<p><b>description</b> <u>The specified HTTP method is not allowed for
the requested resource</u></p>
...
<h3>Apache Tomcat/4.1.34-LE-jdk14</h3>
</body>
</html>


Iñaki

Reply via email to