2009/6/16 Caldarale, Charles R <[email protected]>: >> From: Kyle Brantley [mailto:[email protected]] >> 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: [email protected] For additional commands, e-mail: [email protected]
