Re: Links to relative URL's from a JSP

2006-07-24 Thread Mike Molina
fferent from the actual location of the JSP. In the past, I've done stuff like src="${pageContext.request.contextPath}/WebContent/image.jpg"> to get around these issues with an absolute path to the image. My example assumes a servlet spec 2.4 webapp and container. --David

Links to relative URL's from a JSP

2006-07-24 Thread Mike Molina
This thread is related to relative URL within JSP's and how they refer to the local directory structure in a web application. My directory structure in Tomcat goes something like this: webapps/inprogress/WebContent (Accessed through Tomcat as such: http://127.0.0.1:8080/inprogres/WebContent wh