Hi Manish
JWS uses an offset from doument root. So if your document root is
c:\website and your graphics are in c:\websites\images, the image link
should be images/theimage.jpg.
Also note, JWS2.0 and below are a pain in the <insert explitive> for
messing up filename case.
hth
Chris
On Wed, 31 May 2000 18:34:24 +0530, Manish Bhatnagar wrote:
>Hi!
>
>I am creating a html page from a servlet.... I wish at add an image,
>clicking on which connects to a particular URL. Where shall I put the
>image (I'm using Java Web Server2.0) "xyz.bmp" so that when a client
>machine accesses my machine (which happens to be the server)... the
>image is visible to the user...
>
>Here's the code...
>out.println("<td width=\"100%\" height=\"78\" valign=\"middle\"
>align=\"center\"><a href=\"http://www.someURL.com\"><img
>src=\"\\\logo.bmp\" width=\"50\" height=\"63\"
>alt=\"Hello\"></a></td>");
>
>Suggestions welcome!
>
>--Manish--
>
>--
>Obstacles are things a person sees when he takes his eyes off his goal.
>
> -E. Joseph Cossman
>
>___________________________________________________________________________
>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