struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jbarr...@sssc.com>
Subject RE: Image Does Not Get Picked Up
Date Thu, 02 Sep 2004 16:23:30 GMT


> -----Original Message-----
> From: Wendy Smoak [mailto:java@wendysmoak.com]
> Sent: Thursday, September 02, 2004 9:19 AM
> To: Struts Users Mailing List
> Subject: Re: Image Does Not Get Picked Up
> 
> 
> From: "Caroline Jen" <jiapei_jen@yahoo.com>
> > I do not know what to do now.  Please help more.
> 
> Figure out the entire URL to the image into your browser and view it.
> 
> Something like...
> http://www.example.com/HSInfo/frame/common/images/dhs-header-t
> itle.JPEG
> (replace www.example.com with localhost or your own server name.)
> 
> Once you figure out what the URL of the image is, then make 
> sure that's what
> ends up in your generated HTML.
> 
> If the image name isn't dynamic, I would just use the <img 
> src="..."> tag
> directly.

I'll agree with Wendy up to here... and then it's a style differerence... the html:img tag
also prepends the context information to the image, so it's portable between contexts.  In
my experience, everything is portable, everything changes, iow Mr. Murphy lives in my back
pocket so I tend to code with maximum flexibility in mind.


> 
> Open the image in PhotoShop or some other image editing 
> software and make
> sure it's not corrupted and really is an image?  Are other 
> images showing up
> on your page, is only this one giving you a problem?
> 
> -- 
> Wendy Smoak
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message