Title: Re: Files acces within a servlet
Make sure the process id running apache/jserv has permissions to the directory you are trying to write to.  Are you using jdk1.2? ( this may present different issues)  what about os....Solaris?

----------
From: "Collin, Frédéric" <[EMAIL PROTECTED]>
To: "'Java Apache Users '" <[EMAIL PROTECTED]>
Subject: Files acces within a servlet
Date: Thu, Apr 13, 2000, 10:54 AM




Hi !

Within a servlet, I try to use the file.renameTo(newfile) and it's unsuccessfull. (And the canWrite method on this File returns false, meaning that the current execution context is not allowed to write to this file). Of course, if I try this within a standard application it works verry well.

I suppose there are some Security manager parameters for JServ.

Can you tell me more ????

thanks !

Frederic COLLIN

Reply via email to