Originally posted by Amol Nayak:
If he knows the path relative to the webapp then he can get the
path on the filesystem of the webserver by calling getRealPath.
is never entered. This means that in.read(buf) returns 0 , which in turn means that no data is read, right?
while ((len = in.read(buf)) > 0)
bos.write(buf, 0, len);
Is there any reason why the InputStream does not receive anything on the remote machine, but receives normally on the localhost?
And then we all jump out and yell "surprise! we got you this tiny ad!"
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earthhttps://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter