csalem05
asked on
cant find temp directory with applet in vista
I have a java applet that needs to write files into the temp directory. The problem is that on vista the function System.getProperty("java.i o.tmpdir") doesn't return anything, the applet is signed and the function is access controlled. I tried it with both j2se 5 and 6. Where are applets allowed to write to in Vista?
You mean It returns null?
ASKER
yes, it returns null.
See if you can access any other property like "java.version" or "user.name" to make sure if that's the only property which is not getting returned or if its a general problem.
BTW this says that even a signed applet on Vista has fewer permissions than on other Windows platforms:
http://java.sun.com/javase/6/webnotes/#windowsvista
BTW this says that even a signed applet on Vista has fewer permissions than on other Windows platforms:
http://java.sun.com/javase/6/webnotes/#windowsvista
ASKER
no, nothing works... We're not using a policy file, do we need that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.