I guess there are a couple of ways to do this:
1) out.println("<img src=\"http://www.yourSite.com/images/foo.gif\");
2) out.println("<base href=http://www.yourSite.com/");
out.println("<img src=\"images/foo.gif\");
> > 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/
James K. Tuan Ph: 203.961.1686
PetroChemNet Inc. Fax:203.357.7011
1281 Main Street email: [EMAIL PROTECTED]
Stamford CT 06902 URL: www.petrochem.net
___________________________________________________________________________
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