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
If you need more than Chuck's suggestion, all the configuration information about webapps (i.e. directories where classes, files, and and documents live) is already available via Tomcat MBeans. This will eliminate the need for an environment variable and create flexibility. You can use JConsole

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 please tell me if there is