On Tue, Jul 06, 2004 at 02:11:00PM -0400, J?r?me Duval wrote:
: Yet these lines of code in my servlet:
: File target = new File("\\\\Msi\\nouveau dossier\\","Commande.web");
: if(!target.exists()) {
: System.out.println("The file doesn't exist!");
: }
: FileWriter fileOutput = new FileWriter(target,true);
:
: produce: The file doesn't exist!
Does the owner of the Tomcat process have write access to that folder?
If you're running Tomcat as a service, I understand it has different
perms than if you fire it up directly as the logged-in user.
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]