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 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), when I look at the source code the image > url points to the right direction. When I save the > source code as a static html and open it in phoenix > (using file://) the image shows up. Now when I put the > same static html file in my webapp dir, and look the > at the page using http://localhost... the image > doesn't show up. (there isn't even a placeholder or > some indication that the image wasn't found) > This is the html code generated by my jsp: > <img align="left" > src="/opt/tomcat/webapps/shadowbb/images/shadowlogo.jpg" > alt="forumlogo"> > Does Tomcat handle serving images differently or am I > doing something else wrong? > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]