progress of an upload from java client to server

K

Kamil Koci

Hello,
I'm trying to make a progress bar that shows a progress of an upload
from my Java client application to Tomcat 4 server.

The problem is in getting the state of the request during the time its
being sent over to the server.

I'd like to use standard HTTP Post method, but I'm not fixed to it. The
thing that matters is that I need to post some extra metadata along with
the file and yet be able to watch the progress. I think nice way would
be using a Timer for regularly checking the amount of sent bytes or
whatever. Composing that two file message (data + metadata) should be
not a problem.

Thanks a lot for any suggestions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top