----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Look at your error_log file and see where your web server is looking
for the images. The reason it works locally is because images exist on
your local machine, once you request img remotely the client does not 
know what d:\servlets\images, unless it exists on that particular client.
Try to specify absolute path to the image. So if your root htdocs
directory is d:\htdocs, and images are in d:\htdocs\images then <img
src=/images/should_work.gif> should work.

Alex.

On Mon, 24 Jan 2000, Grant, Lee wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Greetings,
> 
> I did not see this in the FAQ...
> 
> I am doing some servlet development and everything works except my <img
> src=...>
> lines of my generated HTML.  If I am on my local machine I can use a full
> path 
> (i.e. d:/servlets/images/header.gif), but if I use a browser on another
> machine the
> image does not display. Has anyone come across this problem. Even the
> IsItWorking 
> servlet doesn't display it's image.
> 
> Thank you for any help.
> 
> Lee Grant
> 
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
> 
> 



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to