This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes File Upload progress bar in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "File Upload progress bar in Java" Watch "File Upload progress bar in Java" New topic
Author

File Upload progress bar in Java

Tukaram Kanade
Ranch Hand

Joined: Feb 18, 2010
Posts: 39
Hello All,

Can you please give me the Ajax implementation of File Upload progress bar in Java.


I want to upload file to servlet after upload completion i want to disply sucess message on client side without refreshing the page.
Please help me.

Thank you.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60783
    
  65

Ajax and progress bars are mostly a JavaScript activity. So I've moved this to the HTML/JavaScript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60783
    
  65

Tukaram Kanade wrote:Can you please give me the Ajax implementation of File Upload progress bar in Java.

Please read: NotACodeMill

jQuery UI has a Progress Bar widget that's pretty easy to use. Writing your own from scratch will require a good knowledge of HTML, JavaScript, CSS and Ajax. What have you done so far?
vijin das
Ranch Hand

Joined: Jun 07, 2010
Posts: 129


hai check the below link....

SERVLET UPLOAD LINK

it is saying about pure request response model ....

try using ajax to send data to the servlet and return upload succes value to ajax call back function .........

and when you call the above asynchronous call using java script , simultanously you can implement a progress bar using java script ....which will give user the feeling of upload .... untill you will get respone in your ajax call back function....



VIJINDAS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Upload progress bar in Java
 
Similar Threads
File Upload Progress bar
multiple file upload AJAX
Problem with JProgressBar ??
Java FTP Progress Bar
[Wicket] Can't see progress in progressBar