> I am trying to send a static html file from within a servlet. For test
> purpose I have written a servlet which sends a static file back to the
> client. The problem I am having is that only the text goes to the
> client and the gifs don't.

what do your <img> tags look like? the images need to be located in your web
servers htdocs directory and the paths need to be relative to that
directory...in other words, put "foo.gif" in your htdocs directory and then
make the img tag look like this:

<img src="/foo.gif">

done.

-jon


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

Reply via email to