-4

Generally while uploading a file,an uploading type of progress bar is used before clicking on upload buttons in all most all every web.

What exactly we are doing after selecting a file(in that progress bar)

I need to do that using java and jsp or Struts 1.x.

Nirdesh
  • 63
  • 2
  • 11

1 Answers1

0

Normally, File Upload starts after you POST the data to server not when you select the file.

I think you want Asynchronous file upload e.g. Gmail

See this : Asynchronous file upload (AJAX file upload) using jsp and javascript

Also See swfupload - JavaScript & Flash Upload Library

http://code.google.com/p/swfupload/downloads/list

and also this might help

http://www.missiondata.com/blog/web-development/28/file-upload-progress-with-ajax-and-java-and-prototype/

Community
  • 1
  • 1
Hardik Mishra
  • 14,779
  • 9
  • 61
  • 96