wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60752
    
  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
 
wood burning stoves
 
subject: Ajax Upload file
 
Similar Threads
Is it possible to upload a file using Ajax
GWT: Ajax file upload?
How To Upload a File by Using XMLHTTP
check File Existence and display alert message
To upload a file using struts 1.2 and ajax