tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: which is the current directory for Tomcat Server?
Date Fri, 01 Feb 2002 12:58:52 GMT
I believe the current directory will vary depending on how
Tomcat is started.  Using getRealPath(""), which gives you
the path of the webapp's base directory, will be much more
reliable.

Cheers,
Larry

> -----Original Message-----
> From: timothy [mailto:timothy@strategus.com.hk]
> Sent: Thursday, January 31, 2002 11:38 PM
> To: Tomcat Users List
> Subject: Re: which is the current directory for Tomcat Server?
> 
> 
> %TOMCAT_HOME%\bin
> 
> From Timothy
> ----- Original Message -----
> From: "Santosh Varghese" <santoshv@asmasoft.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Friday, February 01, 2002 6:37 AM
> Subject: which is the current directory for Tomcat Server?
> 
> 
> > Hi,
> >
> >     I  wanted  to  read  some txt  file  from  the  current 
> directory  for
> > tomcat  server. But  I  am  unable  to  find  out  the  current
> directory.
> > Please help me  out
> >
> > Regards,
> > Santosh
> >
> >
> >
> >
> > --
> > To unsubscribe:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: 
> <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message