tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NanFei Wang" <nanfeiw...@hotmail.com>
Subject Re: Net Disk Failure in JSP with Tomcat 5.5.9( or 5.5.X)
Date Thu, 24 Nov 2005 01:59:04 GMT
Hi,Chuck
Would you please give me some idea for the following !

NanFei


> Hi,
> The following seem simple question get no any response yet !
> Is it really no solution ?

> 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( or 5.5.X) 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

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


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


Mime
View raw message