Hello All,

I'm using tomcat 6.0.18 and it appears that reading a request parameter like:

String param = request.getParameter("param");

causes any subsequent attempt to ready the post body to fail:

while ((inputLine = reader.readLine()) != null) {
           sb.append(inputLine);
}

It doesn't throw an exception, just doesn't find any lines to read in the post body. Commenting out the request.getParameter call causes the read of the post body to work normally. Is this expected behavior? Can someone please clarify for me?

Thanks!

--john


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

Reply via email to