Hi,
I made a Net Disk named P:\
The file ' test.jsp ' as following:
-----------------------------------------------------
<%@ page import="java.io.File" %>
<%
String net = "P:\\";
java.io.File netDir=new java.io.File(net);
out.print(net+" exist = "+netDir.exists()+"<br>");
out.print(net+" is Directory = "+netDir.isDirectory()+"<br>");
%>
-----------------------------------------------------

I got the following result when I use Apache Tomcat 5.5.9 Server :
****************************
P:\ exist = false
P:\ is Directory = false
*****************************

But I got the following when I use Tomcat 5.0.18 :
``````````````````````````````````````````
P:\ exist = true
P:\ is Directory = true
``````````````````````````````````````````

Can Anybody advise how to do to get net disk available using Tomcat 5.5.9 !

Thanks

NanFei

Reply via email to