Hi all,

I want to refer from a template page to a resource in the "docroot" folder, e.g. a link to an image or a stylesheet.

At the moment, my stylesheet is included in the template page like this:

<link rel="stylesheet" type="text/css" href="/magnoliaAuthor/docroot/css/style.css" />

My question:
How can I manage to give a relative link in "href" from a template jsp page to the docroot folder? If I leave the link absolute like this, after activation to the magnoliaPublic instance the link will still point to the author instance of course....

Thanks all,
Bernd

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to