Howdy,
You need to read the whole request into a String.  Then, since you want
a DOM document, use a DOM document builder to get it, e.g.
String xmlInput = ...
Reader reader = new Stringeader(xmlInput);
InputSource inputSource = new InputSource(reader);
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(inputSource)

(The above are mixed imports from java.io, javax.xml.parsers,
org.w3c.dom).

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Jose Alanya [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 09, 2003 6:21 PM
>To: [EMAIL PROTECTED]
>Subject: I post a text XML with Microsoft.XMLHTTP to servlet
>
>Hi,
>
>I post a text XML with  Microsoft.XMLHTTP to servlet,
>As I can recover the value of object request from of servlet
>This can :
>something like  :  Document oDocument = xml.paser(objrequest)
>
>Not getparameter, not getquerystring
>
>Please  help me!
>Thanks,
>
>best regards,
>Jose Alanya
>From, Lima Peru



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to