Hi,
I am running
Tomcat 6 in Windows Server 2003 operating system. I have a problem accessing network shared drives from within my
servlets and JSP-pages.
For instance, if "S" is a mapped drive pointing to something like a
shared network drive "\\shared_server\shared_drive", then this scriplet
returns
"false":
<%
java.io.File file = new java.io.File("S:/test.txt");
boolean exists = file.exists();
out.print("exists: " + exists);
%>
The file "test.txt" does exist, but Tomcat does not see the shared
drive.
Please help.
Thanks,
Prabhat