title: Reading files from hard drive with javascript
body: <p>My application creates <code>.xml</code> files and stores them on the user's hard drive; there is a default folder that I set in the <code>web.xml</code> to store the files, let's say <code>D:/temp</code>. Now after I write the files I need to read them back with javascript, I am using a javascript library that has this function <code>mxUtils.load('URL of the file')</code> (this function returns the content of the file), the problem is that it is giving me an error <code>Cross origin requests are only supported for HTTP</code>, (I now it doesn't have anything to do with the function or the library) I think the problem is that you can't read local files because of some security issues. Anyone can advise me some solution? Thanks</p>