Hi all
Been trying to integrate a Servlet Filter into Sling, which relies on
"...
String realLogSettingsFilename =
fc.getServletContext().getRealPath(logSettingsFilename);
..."
to retrieve a file out of the servlet context.
Now, without knowing too much (well, nothing) about all the PAX stuff, I
cannot figure out how to define logSettingsFilename to point to a
phyiscal, real file.
"...
17.11.2009 21:37:50.867 *INFO* [SCR Component Actor]
org.ops4j.pax.web.service.internal.HttpServiceContext getting real path:
[test.txt]
17.11.2009 21:37:50.867 *INFO* [SCR Component Actor]
org.ops4j.pax.web.service.internal.HttpServiceContext getting resource:
[test.txt]
17.11.2009 21:37:50.867 *INFO* [SCR Component Actor]
org.ops4j.pax.web.service.internal.HttpServiceContext found resource: null
..."
==> where does a Servlet Filter, deployed as a service in a OSGI bundle
look for files with the "getRealPath" method?
Thx for clarifications