RE: problem with showing an image

2003-06-01 Thread D-Fuse
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 , Tomcat cut off the extension, appended .htm

RE: problem with showing an image

2003-06-01 Thread Ramesh Sabeti
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: pro

Re: problem with showing an image

2003-06-01 Thread Jason Bainbridge
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 struct

RE: problem with showing an image

2003-06-01 Thread graghupathy
set this thing to 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 image from a properties file in a jsp. The image doesn't show in my browser (phoenix)