On Feb 16, 2004, at 5:03 AM, Bert Van Kets wrote:


Hmmm...  well, it looks like if you use a relative path there, it's
relative to the working directory of the process that started the
servlet container.  I'm using Jetty on Unix, so YMMV.  Anyway, I do
this:

         <upload_manager>
                 <uploadfolder>site/WEB-INF/work/upload</uploadfolder>
         </upload_manager>


Apparently Windows has a different behavior and needs the full path. :-(



You might try putting something like


(new File (destination)).getAbsolutePath()

into a debug log message, and find out how Winblows is interpreting the relative path?
~ml



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to