tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: Trouble displaying images
Date Tue, 10 Aug 2004 21:47:20 GMT
From: "Xeth Waxman" <>
> body.append("<A HREF='<link here>'><IMG BORDER=0

The Servlet Specification requires your container to restrict access to
anything under WEB-INF.  Since images are requested by the browser
separately after it receives the page, even if you managed to get the
"right" URL in your <img> tag, the container will refuse to serve the image.

I suggest putting it in ...ROOT/images/logo.gif, then try your <img> tag
again without the full path.

Wendy Smoak

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message