opuslover wrote:
i'm using some java for writing files like
var txtObj=OpenFile(SYSTEM_PUBLICATION_DIR+"myDoc\\try2.html",true)
That looks like OpusScript not Java?
You have to understand that Browsers are supposed to be windows to the world and for safety and security not expose the
local file system to that world. This is a key security problem with plugins like Flash and Plexus which is why you need to think differently about how you store persistent data. The current specification has several methods for storing data
offline, though not in the sense of (local) as in SYSTEM_PUBLICATION_DIR, and these are in various stages of inclusion.
A good article on the various forms is
http://www.html5rocks.com/en/tutorials/offline/storage/But you will also need to check
http://caniuse.com/ for the different forms to see the current level of inclusion as well as reading the supporting notes to see the current development status of each form.
</mack>