struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McGrady <m...@michaelmcgrady.com>
Subject Re: img tag with action as src
Date Fri, 06 Feb 2004 23:51:32 GMT
Just to save you time looking, Greg Bloomquist, here is the tag that works:

<IMG
   height=18
   alt="Powered by Struts"
   src="RESOURCE.MICHAELMcGRADY?file_type=gif&file_name=struts-power.gif">

Okay dokay?  Not trying to beat a dead horse or get one to float when led 
to water but just letting you know how it is, because code that works for 
the wrong reason is likely to come back and .... on the ....

Michael McGrady

At 07:49 AM 2/6/2004, you wrote:

>So, my final assumption is that <img src="/some/path/myAction.do">
>or even <html:img src="/some/path/myAction.do"/> will not work.  Instead, 
>one my use <html:img path="/some/path/myAction.do"/>.  I'm not sure if 
>this has to do with the
>fact that in using the "src" attribute, you're telling the container (or
>browser, or controller) that it's an exisiting _filesystem_ path, vs. some
>virtual path.  All I know if that "src" didn't work, and "path" did work.
>
>Thanks for the post anyhow.



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


Mime
View raw message