1) Selector which gets parsys
StringWriter defaultHtml = new StringWriter();
pageContext.pushBody(defaultHtml);
%>
<cq:include path="<%=nodeName%>" resourceType="<%=resourceType%>"/>
<% pageContext.popBody();%>
<%=defaultHtml %>
2) the above produces relative urls, so the externall app wont show images, styles, any scripts.
3) how can make the above output with absolute urls. Please suggest.