I'll usually create a directroy called "images" and put that in the
"public-html" directory of JavaWebServer, and store all of the images there.
I think if you do a HttpRequest.getRealPath("/images"), that'll give you the
full directory path to the "images" directory.

----- Original Message -----
From: RAHIMUNISA_N <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 18, 1999 9:21 AM
Subject: Re: DISPLAYING IMAGES USING HTML EMBEDDED IN SERVLETS


> what do u mean by web root ?
> at present iam using jsdk2.0 . i have java web server 2.0.
> pls specify the exact dir.
>
> -----Original Message-----
> From: Andrea Lardicci [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 18, 1999 2:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: DISPLAYING IMAGES USING HTML EMBEDDED IN SERVLETS
>
>
> You should put your images direcory under web root
> and use < body background=http://192.168.2.106:8080/images/Backgnd.jpg>
> At 13.52 18/10/99 +0530, you wrote:
> >hi pol,
> >< body background=http://192.168.2.106:8080//images/Backgnd.jpg>
> >it gives
> >servlet not found:images.
> >
> >how to fix this  problem
> >
> >-----Original Message-----
> >From: Pol Millan [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, October 18, 1999 12:53 PM
> >To: [EMAIL PROTECTED]
> >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
>
> ________________________________________________________________________
> ___
> 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