Hi,

Mike Müller schrieb:
> Hi
> 
> Is there an easy way to get the absolute path to the sling.home directory in 
> a bundle or servlet?
> (sling launched as standalone app, not in a servlet container)

The sling.home is available as an absolute path as a framework property
through the BundleContext.getProperty method:

    String home = bundleContext.getProperty("sling.home");


Regards
Felix

> 
> best regards
> mike
> 

Reply via email to