开发者

Ajax file uploading with java back end?

开发者 https://www.devze.com 2023-01-02 02:45 出处:网络
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/

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消