> 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, the above advice is simply wrong. The System.getProperty() API retrieves Java system properties, not environment variables. System.getenv() does access environment variables, but its use is discouraged, since the API is deprecated. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]