Originally posted by Ben Souther:
It does. the '../' symbol means 'parent directory'.
This is not the best way to build paths in a Servlet/JSP app.
See:
http://faq.javaranch.com/java/RelativeLinks
for a very complete and detail description of the contextPath and how best to add it to your URLs.
[ November 22, 2007: Message edited by: Ben Souther ]
Hi Ben,
Thanks a lot for the link you directed me too. After reading it I am trying to build a link as depicted in that document, although I believe its discouraged but Id still like to try to use the domain name method.
In my header.html file. I tried doing something like this
<img src="http://localhost:8084/Abc_Autos/images/logo.jpg" >
where Abc_Autos is the name of my web app. But this technique doesn't work. I am using netbeans. I can see the images folder when I tab the 'files view' in netbeans. And I can also see the images folder and the image when I physically navigate to the directory.