[jdom-interest] JDOM via servlet.

Tasso Angelidis TassoA at trustmarque.ca
Wed Jul 25 06:28:15 PDT 2001


Sorry for the double post...

I guess your trying to read the XML directly from the stream...

Another way it can be done is through the GET and POST data.

SAXBuilder trxBuilder = new SAXBuilder(false);
Document trxDoc = trxBuilder.build(new
StringReader(request.getParameter("xml")));

This will require that the client side sends over, in this case, the "xml"
http query parameter for the GET/POST methods.

The above is how I do it and it worls perfectly.



More information about the jdom-interest mailing list