Hi, I have found the solution as follow: change tomcat service account: Control Panel >> Administrative Tools >> Services change tomcat service log on account: administrator
Now,it works. the test.jsp will get Y:\ exists()=true - NanFei ----- Original Message ----- From: "NanFei Wang" <[EMAIL PROTECTED]> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org> Sent: Wednesday, May 04, 2005 5:47 PM Subject: Re: Network Disk Not Exist Under Tomcat-5.5.9 > Dear Peter, > I have already mapped a Network Disk named 'Y'. > > My question is : > If the webserver is Tomcat with ver.earlier than Tomcat-5.5.9(like 5.0.18), > Then the test.jsp will get Y:\ exists()=true > But with Tomcat-5.5.9 ,the test.jsp will get Y:\ exists()=false > > Thanks > > - NanFei > > > ----- Original Message ----- > From: "Peter Crowther" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org> > Sent: Wednesday, May 04, 2005 3:59 PM > Subject: RE: Network Disk Not Exist Under Tomcat-5.5.9 > > > > From: NanFei Wang [mailto:[EMAIL PROTECTED] > > Why Network Disk Not Exist Under Tomcat-5.5.9 ? > > Are you running Tomcat as a service? If so, remember that drive > mappings (eg. mapping Y: to \\myserver\myshare) are user- and > session-specific. You have mapped a drive as a user; the services on > your computer know nothing about this. > > - Peter > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]