Hello,
 
I am still confused about path resolution.
My directory structure is a s follows:
(the application context is .../webapps/dolores/)
 
/dolores/
    /html/
        /common
            <header.jsp>
        /intro
        /customer
    /artwork
        <akh.jpg>
 
The directory <common> contains a jsp-page <header.jsp>.
Header.jsp contains an normal image that should be searched in /dolores/artwork.
 
The tag is as follows:
<img src="/artwork/akh.jpg" ...>
 
I tried the following paths...
"/artwork/akh.jpg"
"/dolores/artwork/akh.jpg"
"dolores/artwork/akh.jpg"
"artwork/akh.jpg"
"../../artwork/akh.jpg"
"/../../artwork/akh.jpg"
...but the image could never be found.
 
Any hints ?
 
Nikolaus

Reply via email to