Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Programming and Misc. Tidbits :
When I call HttpUtils.parsePostData() all the POST data is eaten by Apache Jserv. Is this a bug?
A servlet engine is only supposed to read (and thus eat) the POST data by calling parsePostData() when parsePostData() would actually be able to handle it, i.e. the content-type is "application/x-www-urlencoded". If the content-type is something else, like "multipart/form-data" (or "text/html" when a HTML document is PUT from Netscape Composer), the POST data should be left to the servlet itself to handle. (Thanks for Vincent Partington)
[Append to This Answer]
Previous: (Answer) How do I create an image with a servlet, for example, a graph out of a list of values?
Next: (Answer) Path translation issues...
This document is: http://java.apache.org/faq/?file=205
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.