Jason Smith wrote: > Solved. You gave me a clue that helped solve it, though Tomcat could handle > this better (not put '0 POST' in for the method name in the first place). > > Sun's implementation of HttpURLConnector apparently creates a new > ChunkedOutputStream every time you call .getOutputStream(). In other words, > multiple calls to conn.getOutputStream().close(); cause corrupted output. > Calling .close() on the same output stream does not cause corrupted output.
Glad you found the problem. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org