File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Status while uploading a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Status while uploading a file" Watch "Status while uploading a file" New topic

Status while uploading a file

Kim MacKellar

Joined: Aug 14, 2001
Posts: 4
Does anyone know of a way to present some sort of status bar or gears to a user while uploading a file? For instance, I have a web app that allows users to upload very large files. While the file is being uploaded and processed (parsing and storing into a database) I need to give the user some indication that the file is being worked on.
v velus

Joined: Sep 07, 2001
Posts: 14
U can create a applet with progress bar control and run inside the thread so that it will execute up to that time of loading.(this is for web based app.).
Kim MacKellar

Joined: Aug 14, 2001
Posts: 4
Is there any way to do this without creating an applet? I've seen something where the response is being written before the processing of the file begins but I can't find the code.
I agree. Here's the link:
subject: Status while uploading a file
It's not a secret anymore!