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 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 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 any workaround.

Thanks for your help.

Regards,
RNS

The information contained in this e-mail may be confidential and is intended 
solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained therein by 
any other person is not authorized.
If you are not the intended recipient please notify us immediately by returning 
the e-mail to the originator.(17b)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  


                        
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Reply via email to