In using Win 2k with JDK 1.4.0, how do you prevent an "Access is Denied" FileNotFoundException in my app when writing a file to another computer (through mapped drive, for example)? This is similar to a question posted by someone over a year ago here, which was never answered. Here's a simplified code snippet below, taken out of a web app. This was also tested in a basic app writing to a console.
I'm not real clear on FilePermission class, if it's even applicable here... but the drive has already been mapped so I'm confused about the exception being thrown. Thanks! --- [ October 20, 2002: Message edited by: Toby Davis ]
Saw it in the Java.sun.com forum post, but didn't think of it since I had used a much older version unsuccessfully. However, seems that 0.6.6 is working fairly well. I hope it's good for a production environment. Thanks. ---
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop