Caldarale, Charles R wrote:
>> From: Igor Mukhin [mailto:iimu...@mail.ru]
>> Subject: Finding out the absolute path to application (appBase)
>>
>> what is the best way two find out the absolute path to directory 
>> where the application is expanded (appBase)?
> 
> There's no guarantee that the application is expanded, or that components of 
> it exist anywhere in the file system.  (Or even that there is a file system.)

+1.

> What is your actual requirement?

If your requirement really is getting the appBase then try;

((Host) standardContextInstance.getParent()).getAppBase()

Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to