it's because when you send the HTML content to the browser, the current path
is not the same as the one expected by the browser, try using full path for
you gif file instead of relative path (to be more efficient ou can a prefix
path in a constant and append the remaining path for each gif file... hope
this helps
JM aka HPOUF
----- Original Message -----
From: "Anshuman Nanda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 01, 2000 9:03 AM
Subject: Displaying Images using servlet.
> Hello,
>
> I am reading an HTML file through the servlet and displaying it on =
> the browser. The HTML page contains some gif files lying in the same =
> directory as the pages itself. When I display the pages through =
> servlet, the images does not get displayed on the browser. I am using =
> Java Web Server. Can anyone suggest, where should i place my images so =
> that it should get displayed when reading the html page through a =
> servlet.
>
>
> Any help would be appriciated.
>
>
> Thanks & Regards
> Anshuman Nanda
> Velos Medical Informatics.
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html