1. yes that's what I would do.
2. try pulling "docroot" out so you have just
"${pageContext.request.contextPath}/folder_name/imgs/picture.gif"Also I have another question for you vans regarding the 500 error you were getting in WebSphere when you were trying to pull up a new document to edit. What was causing the 500 error? How did you fix it? Cheers, Jay Moskos jmoskos @at@ talisentech .dot. com -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 3:36 PM To: [email protected] Subject: [magnolia-user] Adding images in docroot 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 ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
