Thank everyone for the help and tips. I found the problem and I am posting
the solution for the archive.
I had to change the html page from:
<img SRC="Tuev.gif" BORDER=0 height=203> width=198>
to:
<img SRC="TUEV.GIF" BORDER=0 height=203> width=198>
The name of the file is "Tuev.gif" but I have to write the src of the img
tag with capital letters!!!! I guess the cause of the problem is that
Windows is case insenstiv. Is that a bug from Tomcat?
Leila
>
> Try,
> http://127.0.0.1:8080/Request/
>
> This will show the list of files in the directory, check if
> you can see
> Tuev.gif.
> Click on it, if the file is ok, it should be displayed
>
> -----Original Message-----
>
> This is the scr of the img tag:
>
> <td WIDTH="198"><img SRC="Tuev.gif" BORDER=0 height=203
> width=198></td>
>
> This url works:
>
> http://127.0.0.1:8080/Request/index.htm
>
> This url does not work (Error 404 - File not found):
>
> http://127.0.0.1:8080/Request/Tuev.gif
>
>
> Both files exists and they are in the same directory.
>
> Leila
>
>
> >
> >
> > What is the src of the img tag in your html file? Some
> > tools will
> > put fully qualified file names in there instead of relative paths.
> >
> > Randy
> > >
> > > I am running Tomcat 4.0b5 standalone in Windows NT 4.0.
> > > I've created a new web-application in $tomcathome$\webapps
> > > without creating
> > > a war file (I am at the early stage of development), with one
> > > html static
> > > page and one servlet. I can access the html page and the
> > > servlet without
> > > problem but I cannot see any image (gif). The html and the
> > > images are in the
> > > same directory ($tomcathome$\webapps\MyWebApp), if I open the
> > > html file
> > > (without using Tomcat) the images just show fine.
> > >
>