File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Ajax Upload file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax Upload file" Watch "Ajax Upload file" New topic
Author

Ajax Upload file

Eideo Guo
Greenhorn

Joined: Aug 16, 2005
Posts: 29
Hi All,
i wanna to know how to upload file use ajax,my server side is java
thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Since Javascript has no access to the file system, Ajax is not a suitable technology for this task.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eideo Guo
Greenhorn

Joined: Aug 16, 2005
Posts: 29
Thank you very much
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You need to post the file to a hidden iframe. Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax Upload file
 
Similar Threads
check File Existence and display alert message
GWT: Ajax file upload?
Is it possible to upload a file using Ajax
How To Upload a File by Using XMLHTTP
To upload a file using struts 1.2 and ajax