You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Rush <ru...@pobox.com> on 2004/08/04 17:38:21 UTC
sharing images across modules
I'd like to use some common images across modules. I've found that I
can accomplish what I need by using:
<img src="<html:rewrite page="/common/image.gif" module=""/>"/>
Originally I was trying to accomplish this using the html:img tag, but
the module attribute is ignored in this case:
<html:img page="/common/image.gif" module=""/>
Does anyone know why the latter doesn't work? Is it possible that it
will work in the future?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: sharing images across modules
Posted by Kishore Senji <ks...@gmail.com>.
In <html:img/> tag, module is valid only when an action attribute is set.
On Wed, 4 Aug 2004 08:38:21 -0700, Michael Rush <ru...@pobox.com> wrote:
> I'd like to use some common images across modules. I've found that I
> can accomplish what I need by using:
>
> <img src="<html:rewrite page="/common/image.gif" module=""/>"/>
>
> Originally I was trying to accomplish this using the html:img tag, but
> the module attribute is ignored in this case:
>
> <html:img page="/common/image.gif" module=""/>
>
> Does anyone know why the latter doesn't work? Is it possible that it
> will work in the future?
>
> ---------------------------------------------------------------------
> 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