Bert Leunis ha scritto:
Dear All,
When writing templates using JSP’s I could get the context path like
this: ${pageContext.request.contextPath}.
I am looking for a way to get the contextPath using freemarker, but I
have not succeeded so far. Does anyone know how to do that?
Magnolia exposes the context object to a freemarker tpl, try using
${ctx.contextPath}
HTH
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------