Z
zidered
My directory structure is as follows -
WEB-INF
|-----images
|-----buttons
|-----jsp
savechanges.gif is in the buttons directory.
In the jsp directory I have a jsp file with this line in
<img src="images/buttons/savechanges.gif">
When the jsp file is deployed on my webserver (tomcat 5 or Weblogic 8.1) the
image is displayed in the browser correctly.
But to get it to show in a package such as Dreamweaver the path has to look
like this "/images/buttons/savechanges.gif" with an
initial "/" - I do understand the difference between absolute/relative paths
but just can't see why this should be!
With the "/" in front it stops displaying in the browser!
Any ideas? - probably something really stupid I'm missing!
thanks
harry
WEB-INF
|-----images
|-----buttons
|-----jsp
savechanges.gif is in the buttons directory.
In the jsp directory I have a jsp file with this line in
<img src="images/buttons/savechanges.gif">
When the jsp file is deployed on my webserver (tomcat 5 or Weblogic 8.1) the
image is displayed in the browser correctly.
But to get it to show in a package such as Dreamweaver the path has to look
like this "/images/buttons/savechanges.gif" with an
initial "/" - I do understand the difference between absolute/relative paths
but just can't see why this should be!
With the "/" in front it stops displaying in the browser!
Any ideas? - probably something really stupid I'm missing!
thanks
harry