> From: Andrey Razumovsky [mailto:razumovsky.and...@gmail.com] > Subject: Re: Cannot read httpservlet's inputstream > > I'm sending POST request from Java (see code in my first message) > to Tomcat 6. But, somehow, the request comes there is GET (!) Also > Content-Length, Content-Type and other header parameters are reset > to default values
Tomcat won't be doing this. What else is between your client program and Tomcat? (E.g., proxies, httpd, smart (?) firewall?) > And mainly, servlet's input stream is empty. > When I do POST from simple HTML,everything's fine. Try running Wireshark or equivalent on both the client box and the Tomcat box to see exactly what's being put on the wire from the points of view of both ends. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org