File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Ajax Upload file" Watch "Ajax Upload file" New topic

Ajax Upload file

Eideo Guo

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

Joined: Jan 10, 2002
Posts: 61957

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

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

Joined: Nov 08, 2001
Posts: 15376
You need to post the file to a hidden iframe. Eric
I agree. Here's the link:
subject: Ajax Upload file