set this thing to
img align=left
src=%= request.getContextPath() %/images/shadowlogo.jpg alt=forumlogo
Thanks
guru
-Original Message-
From: D-Fuse [mailto:[EMAIL PROTECTED]
Sent: 31 May 2003 18:07
To: [EMAIL PROTECTED]
Subject: problem with showing an image
Hey, I load the url of an
On Sun, 1 Jun 2003 01:06, D-Fuse wrote:
src=/opt/tomcat/webapps/shadowbb/images/shadowlogo.jpg
The source of your image has to be inside the context of your web application
(or atleast the server) for Tomcat to be able to show it, it is a security
feature.
Most people usually have a
Change the image location to a relative address starting from your
application location
Src=/images/shadowlogo.jpg or Src=images/shadowlogo.jpg
-Original Message-
From: D-Fuse [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 31, 2003 10:07 AM
To: [EMAIL PROTECTED]
Subject: problem
Thanks, it worked with using the getContextPath().
Other people suggested just using the path relative
from my webapp, but that is what I tried first, and
Tomcat would always replace my url with:
controller_files/shadowlogo.html. Whatever I put into
the img src = , Tomcat cut off the extension,