Originally posted by Joseph Henstay:
Thanks for the reply. I've been looking at this developers code and it looks like the main page that he is displaying is using the JSF markup like you show there, however, in that page, he has that <jsp:include page="header.jsp" /> line, but in header.jsp, he is NOT using any of the JSF markup code, it looks like he is using straight HTML in there. Is that the problem? Should he be using the JSF markup code instead of a regular HTML image tag in the included JSP?
Originally posted by William Duncan:
using a / before makes the location of the images file relative to the context root. For example /images/whatever.gif will actually be read as
/context-root/images/whatever.gif. When not using the /, you are specifying that the images directory is relative to the current directory that the calling jsp is located in. For example, if you call images/whatever.gif from the whatever.jsp located in the /context-root/faces directory the call to images/whatever.gif is actually a call to /context-root/faces/images/whatever.gif.