whoops. I meant to say "/" is the root of the filesystem and _not_ having a slash would mean "the current directory", so that would be "where tomcat has been started from".
And you want neither of those. > -----Original Message----- > From: GB Developer [mailto:[EMAIL PROTECTED] > Sent: Monday, November 28, 2005 11:28 AM > To: 'Tomcat Users List' > Subject: RE: reading file in ServletContextListener > > would work, but where "/" is (without the getRealPath part) > is "the directory from which Tomcat is being started", and > who knows (or should have to care) where that is. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]