• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Upload progress bar in Java

 
Tukaram Kanade
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64617
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajax and progress bars are mostly a JavaScript activity. So I've moved this to the HTML/JavaScript forum.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64617
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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....


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic