Hi,
Apart from rendering Sling resource in response to HTTP requests, is there a way to render them programatically:
protected void doPost(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException { String output = // render "/content/foo/bar/baz.html" response.send(...); }
I am looking for an out-of-the-box solution, otherwise using an HTTP Client library it might be possible to do.
Thanks.