aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56191
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56191
    
  13

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: File Upload progress bar in Java
 
Similar Threads
File Upload Progress bar
Problem with JProgressBar ??
multiple file upload AJAX
Java FTP Progress Bar
[Wicket] Can't see progress in progressBar