Hi ,
   There is another way to send image in html file, start java web server's
administration through browser i.e  http://localhost:9090/
in  File Aliases setup create alias path i.e
/image
 and full path i.e c:/images  to directory where image is located. and then
use the alias path as

<image src='/image/slate.gif'>

----- Original Message -----
From: Naveen A <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 1999 12:33 PM
Subject: Re: Images in html files produced by srvlets


>        -----Original Message-----
>        From:   Veerabhadra Rao P
>        Sent:   Wednesday, July 21, 1999 3:04 PM
>        To:     Naveen A
>        Subject:        FW: Images in html files produced by srvlets
>
>        Hai,
>
>        After getting the outputstream just type
>
>                out.println("<IMG SRC=\"http://urdomain/imagename\">");
>        put the image in ur web servers root directory and it should
>work.
>
>        - Veeru.
>
>                Hello Great gurus!!!!!!
>
>                I'm facing a silly problem, which i know anyone of you
>can handle
>                easily.
>
>                I want that the html which i'm producing using servlets,
>should be able
>                to dipplay images.
>
>                Now what I do , is I get the outputstream of response
>and use IMG SRC=
>                file location. tag.
>                But it does not displays the image. Can you please tell
>me what should I
>                do???
>
>
>                Thanx in Advance...
>
>                Ritu
>
>
>________________________________________________________________________
>___
>                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

___________________________________________________________________________
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

Reply via email to