I know how to upload files to jsp / servlet, I am already using fileupload from Apache , But I do not know how to come back. For example, some situations of uploading a user, in fact when someone selects the file to upload, then they have to click the 'Upload' button and when Jsp page redirects to another page when upload is complete Is obtained. I want to see a percentage of how much they will take to complete the operation of the upload.
I am already implementing the listener using file uploads, but I do not know how to show this information to the user, just when the upload is over, I can redirect to
Any thoughts?
Best regards, Valette Heinrich
This plain HTML Your best bet is using JavaScript / Ajax and / or Flash If your servlet is well written, then you should be able to unify it. & lt; Form & gt;
with & lt; Input type = "file" & gt; . At this point, you will have to submit many simultaneous requests with a file upload with a file upload, as long as the upload is in progress, it will be blocked.
Comments
Post a Comment