I have a java applet for uploading files to server.
I want to display the % of data sent but when I use ObjectOutputStream.write() it just writes to the buffer, does not wait until the data has actually been sent. How can I achieve this.
Perhaps I need to use thread synchronization or something. Any clues would be most helpful.
I have a java applet for uploading files to server. I want to display
Share
What I was looking for was actually:
This prevents any internal buffering allowing me know exactly the amount of data being sent.