My first question is: why does this code keep defaulting the dialogue back to the desktop directory, and second, is there any possible way to suppress the prompt all together and just save the updated page with just one click.
Java isnt my strongest subject, so I would apreciate it if anybody who can spell out a solution to these problems...
It would a security risk to allow JScript code running in a browser to be able to save a file to your hard disk without your intervention. Similarly its probably not a good idea to even allow such code to suggest where the file should be saved. "C:\windows\system32\somecriticalfile.dll" would only require the user to not be paying attention and simply click save and damage can be done.