Hello,
I'm trying to use Sling in JBoss, I have installed the war as sling.war and
I'm accessing the web consoles like this : http://localhost:8080/sling
However, I have sevral <sling:include> tags to call different parts of my
web UI (header, footer) as seen in some examples, like this:
<sling:include path="/apps/opal/baseNode" replaceSelectors="header" />
But the context part is missing and therefore the path is wrong and files
are not included. I have the same issue when using resource path in links:
<a href="${resource.path}.html">
I have set this property in sling.properties:
org.apache.felix.http.context_path = /sling
(I can see the value in the Felix console)
I would just like to know if the context should be automatically
added to the request path (and if yes, how to do so) or if I manually
have to add ${pageContext.request.contextPath} in my JSPs
Thank you very much for your help
Regards,
Guillaume