Yeap, wrong list, thanks anyway for the hint, Justin.

Juerg

On 08.05.2011 14:44, Justin Edelson wrote:
More of a Sling than a Jackrabbit question, no?

In any case, you should be able to use the SlingRequestProcessor to do
this. Search the (sling) list archives for details. If you have
questions, post them to the sling users list, not the jackrabbit users
list.

HTH,

Justin

On Sun, May 8, 2011 at 5:46 AM, JCR<[email protected]>  wrote:
Hi all,

I'm looking for a pattern to call a sling resource from within an OSGi
bundle.

My idea would be something with sling.include("/some/path.html"), but this
does not seem to be possible, as it is not a service.
So, another option would be to do a full-sized HTTP GET call, which sounds
like a lot of overhead.

Thanks for any ideas.
Juerg



Reply via email to