You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by tom ly <bo...@yahoo.com> on 2004/08/31 21:01:54 UTC

How do I read only the XML data in doPost(req,res)?

I'm receiving a HTTP POST request containg XML data and want to process the data in the doPost method of my servlet.  When I do request.getContentLength(), it gives the length of the entire request including the HTTP header etc, but I only want the XML portion of it.  I can't find any Java methods which will return only the data part of the request.  How can I do this?
 
Thanks,
Tom

		
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.