You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Brendle, Douglas A." <Br...@c-b.com> on 2003/06/12 17:58:15 UTC

RE: [SPAM:56%] Using File class in Tomcat

don't use the mapped drive name. Use it's unc name.
If your mapped drive is G:\ and it's mapped to 
someDir on someServer, refer to it as \\someServer\someDir.

-----Original Message-----
From: BBui@sjm.com [mailto:BBui@sjm.com]
Sent: Thursday, June 12, 2003 10:56 AM
To: tomcat-user@jakarta.apache.org
Subject: [SPAM:56%] Using File class in Tomcat


Hi,

I am using the java.io.File class to get a list of all the files in a
directory.  If the directory I am trying to read is a local one, all is fine
and good.  However, if it is a mapped drive (I am using Win2k) then the
class can not see it.  I ran the same code reading the mapped drive in
command window (java myclass) and it is fine.

Is there a setting in Tomcat that I have to set so that I can read a mapped
drive?  

I am using Tc 4.0.2

Thanks.


Bao-Ha Dam Bui
bbui@sjm.com
St. Jude Medical, Inc
 



***************************** 
This communication may contain information that is proprietary, privileged,
confidential or legally exempt from disclosure.  If you are not a named
addressee, you are notified that you are not authorized to read, print,
retain, copy or disseminate this communication without the consent of the
sender and that doing so may be unlawful. If you have received this
communication in error, please notify the sender via return e-mail and
delete it from your computer. Thank you. St. Jude Medical, Inc. 
*****************************

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org