2009/6/16 Caldarale, Charles R <chuck.caldar...@unisys.com>:
>> From: Kyle Brantley [mailto:k...@averageurl.com]
>> Subject: Reading POSTed data
>> I cannot figure out how to read this posted data from the servlet.
>
> Read the servlet spec, not just the javadocs; section 3.1 discusses how POST 
> data should be retrieved (as parameters).

Ah, but section 3.1.1 says that POST data is only available through
getParameter if the content type is application/x-www-form-urlencoded.
In Kyle's case, the POST request contains XML data that he wants to
read and interpret.

Is there any other code that calls getParameter or a related method
before you call getInputStream? Maybe in a filter?
-- 
Len

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to