Did you try using the SlingRequestProcessor service as I suggested?
On Sun, May 8, 2011 at 6:01 PM, 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 >
