RE: [OT] How to access webapps class path as env variable.

2005-12-14 Thread Caldarale, Charles R
> 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

Re: How to access webapps class path as env variable.

2005-12-14 Thread Markus Schönhaber
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

RE: How to access webapps class path as env variable.

2005-12-14 Thread Caldarale, Charles R
> 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

RE: How to access webapps class path as env variable.

2005-12-14 Thread andy gordon
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

Re: How to access webapps class path as env variable.

2005-12-14 Thread Viorel Dragomir
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

Re: How to access webapps class path as env variable.

2005-12-14 Thread marju jalloh
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

RE: How to access webapps class path as env variable.

2005-12-13 Thread Caldarale, Charles R
> 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

How to access webapps class path as env variable.

2005-12-13 Thread Saha Rabindra N
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