vanathi visagan wrote:

Hi,
The user manual says,
"The docroot folder can be used to put files there that we would like
to access via
standard web mechanisms (e.g. static links)."

1. So should I add images that appear on every page in the docroot?
2.I tried to create a folder in docroot that holds my images.And tried
to access the image through  a jsp file using the following syntax
<img 
src="${pageContext.request.contextPath}/docroot/folder_name/imgs/picture.gif"/>
The image does not appear. But i could access the same picture from
<img 
src="${pageContext.request.contextPath}/docroot/samples/imgs/picture.gif"/>.

Suggestions please?
vans

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

vanathi,
Suggestion, look at the templateTwoColumns as an example. See how it does the magnolia header image, i.e headerImage.jsp.
phil


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

Reply via email to