On 27.01.11 17:23, "Andrew Top" <[email protected]> wrote: >How do I get Sling.getContent() to not follow the resourceType on a JCR >node? >... >I ended up using a GET.jsp so that sling/JCR would direct all GET >requests to my JSP page (i.e. http://server:port/mynode).
I think getContent() will use <path>.json, right? Then you should avoid overwriting the json extension in your script, which you do by the generic GET.jsp. If you only generate html in your jsp for example (for handling requests like /something.html), you could use a GET.html.jsp. Regards, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel
