The JSDK servlet runner didn't serve files until 2.1 and there's a bug that
prevents 2.1 from serving files if you're not using Java 2. :-(
Aaron
> -----Original Message-----
> From: Ray Tayek [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 08, 1999 11:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how to reference a .gif in html in from?
>
>
> At 10:25 PM 6/8/99 -0700, you wrote:
> >You are using a relative location in your img tag so the
> browser is looking
> >for "/servlet/foo.gif".
> >
>
> i am using vc 3.0a so the ide invoked servletrunner and the file is in
> user.dir.
>
> >Are you using JSDK 2.1 (and Java 2)? If you are you can just
> place your
> >image in the document root for the servlet engine and use
> >
>
> using 1.1.7 or so (comes with vc 3.0a)
>
> >out.println("<img src=\"/foo.gif\"
> >
>
> using /foo.gif (and /servlet/helloworld/foo.gif) does not work.
>
> thanks
> Ray (will hack java for food) http://home.pacbell.net/rtayek/
> hate Spam? http://www.blighty.com/products/spade/
>
___________________________________________________________________________
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