We will implement file uploading in this recipe. The application will notify the user about the progress and will also display messages when the user starts uploading the file and when the upload has finished.
In this recipe, we first choose a file for upload. We click on the Upload button and then the file is going to be stored on the server.
Carry out the following steps:
Receiverinterface. We want to be notified about the progress, so we also implement
ProgressListener. Then we want to be ...