> From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
> Subject: Re: How to access webapps class path as env variable.
>
> > System.getenv() does access environment variables, but
> > its use is discouraged, since the API is deprecated.
>
> No, since 1.5 it isn't d
Caldarale, Charles R wrote:
> environment variables. System.getenv() does access environment
> variables, but its use is discouraged, since the API is deprecated.
No, since 1.5 it isn't deprecated any more.
Regards
mks
-
To u
> From: marju jalloh [mailto:[EMAIL PROTECTED]
> Subject: Re: How to access webapps class path as env variable.
>
> make an enviroment variable WEBAPPS-PATH in your profile
> an call
> String strDir = System.getProperty("WEBAPPS-PATH");
Besides being unnecessary
nsole (if you are
using Java 5) to understand how to find your directory programmatically.
hth
andy
"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:
> From: Saha Rabindra N [mailto:[EMAIL PROTECTED]
> Subject: How to access webapps class path as env varia
cat Users List"
Sent: Wednesday, December 14, 2005 14:46
Subject: Re: How to access webapps class path as env variable.
make an enviroment variable WEBAPPS-PATH in your profile
an call
String strDir = System.getProperty("WEBAPPS-PATH");
Hope it helps
Marju
Saha Rabindra N <[EM
make an enviroment variable WEBAPPS-PATH in your profile
an call
String strDir = System.getProperty("WEBAPPS-PATH");
Hope it helps
Marju
Saha Rabindra N <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to access the webapps class path through some environment variable.
Can you tell me
> From: Saha Rabindra N [mailto:[EMAIL PROTECTED]
> Subject: How to access webapps class path as env variable.
>
> I have a ini file placed in my webapps class folder which I
> need to read at runtime. If there is no such environment
> variable available, then can you pleas
Hi,
I am trying to access the webapps class path through some environment variable.
Can you tell me the name of the variable which holds the same.
String strDir = System.getProperty("catalina.home"); // This code gives me the
home folder of tomcat.But how do I get the webapps class path ??
I h