-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrey,
On 4/6/2009 11:47 AM, Andrey Razumovsky wrote: > if (connect.getResponseCode() != HttpURLConnection.HTTP_OK) { > logObj.warn("file " + pack.getPath() + " was not transfered - > response code " + > connect.getResponseCode()); > return false; > } What response code do you get, here? 200? > ////////////// ON SERVER SIDE > protected void doPost(HttpServletRequest req, HttpServletResponse resp) > throws ServletException, IOException { > logObj.info("Servlet started") > logObj.info(IOUtils.toString(req.getInputStream())); > } Try turning-on the RequestDumperValve to see what the server is receiving. http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Request%20Dumper%20Valve Perhaps your servlet isn't configured to run on the URL pattern you are using to POST? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknac4EACgkQ9CaO5/Lv0PDcowCgqNsPzX5UFxIsgMYPoXN3cmPe ij8An3JJzJOZ8OLPdhKSpS7+G6TPr/gn =4uR5 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org