wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes File handling using Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "File handling using Javascript" Watch "File handling using Javascript" New topic

File handling using Javascript

Jayanth Mathavan

Joined: Nov 10, 2005
Posts: 16
Hi all,
Can anyone please tell me how to perform file handling operations like read,write to *.xml file using Javascript? Please help.

Jayanth Mathavan
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
If you're talking about files on the client side, then there's no way to do this - JavaScript has no access to files (nor any file I/O capabilities).

Files residing on the server can be read (though nor written directly) through the XmlHTTPRequest object.
I agree. Here's the link: http://aspose.com/file-tools
subject: File handling using Javascript
It's not a secret anymore!