Ajax file uploading with java back end?
I don't want to use flash. I've found multiple jquery libraries that do this. Right now I'm using this one: http://demo.webdeveloperplus.com/ajax-file-upload/
The problem is they all use PHP. I tried just pointing i开发者_如何转开发t at my servlet instead of the PHP file, but it never gets called.
I did it with this jquery plugin. It pretty much mimics standard jquery ajax functionality, but also allows you to send data using iframe. No flash involved, pure javascript.
http://malsup.com/jquery/form/
Here is a file upload example
http://malsup.com/jquery/form/#file-upload
Try plupload. Back end should not matter.
精彩评论