nope..... Dont use that.
include this....
out.println("<BASE href=\"http://myaddress\">");
in the head of your HTML page. This will give the browser the correct ROOT
to look for the image files and stuff.
Keith
---------------------------------------------------------------------------
Keith Ball - Praktikant
AF12 Operationelle Analysen Luftwaffe
IABG MbH Einsteinstr. 20 85521 Ottobrunn
Phone : 0049-89-6088-2556
Email : [EMAIL PROTECTED] WWW site : www.iabg.de
----------------------------------------------------------------------------
----- Original Message -----
From: Pol Millan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 18, 1999 8:22 AM
Subject: Re: DISPLAYING IMAGES USING HTML EMBEDDED IN SERVLETS
> Because u need to use absolute urls, like
http://www.dkdkd.com/images/xx.gif
> ----- Original Message -----
> From: RAHIMUNISA_N <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, October 18, 1999 7:44 AM
> Subject: DISPLAYING IMAGES USING HTML EMBEDDED IN SERVLETS
>
>
> > when i use an jpeg file for background
> > <body background=./images/pic.jpg>
> > it says
> > "servlet not found : images"
> > how to solve this problem . i want all my images (jpeg,bmp,.. ) to be
> > kept in images dir.
> > i know that servlet doesnot support gui . but my homepage has lot of
> > images which has lot of links . how to display them ?
> >
> >
>
___________________________________________________________________________
> > 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