On Thursday 04 March 2010 17:41:17 Christopher Schultz wrote: > It does: calling request.getParameter will consume the request body if > the following are true: > > 1. The protocol is HTTP or HTTPS > 2. The method is POST > 3. The Content-Type is application/x-www-form-urlencoded > [4. A call to request.getParameter*, which you're already doing] > > > Those cases are a "java.io.IOException: Connection reset by peer: > > Amount read didn't match content-length " for the WebObject servlet, > > and a EOFException in the invoker servlet in Jboss). > > That seems fairly straightforward: the client is sending a > Content-Length that doesn't match the amount of data sent: too few bytes > or too many. Can you post the whole stack trace?
Could this be because the input stream of the body is already consumed and the servlet can't read <Content-Length> number of bytes anymore, even when the Content-Length header was originally correct? Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org