You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Raphaël di Cicco <ra...@atosorigin.com> on 2003/07/11 16:49:37 UTC

img tag

Hi,

I'm using Struts 1.1 with modules. I want to use the page attribute of  <html:img> but without struts genrating the module name.
For instance:
I'm in a JSP page inside the module "administration"
let's say I want to display an image called image.gif in directory img:
<html:img page="/img/image.gif " width="229" height="32"/>

This is creating : 

<img src="/myweb/administration/img/image.gif" height="32" width="229">
instead of :
<img src="/myweb/img/image.gif" height="32" width="229">

Any solution to this problem with using src ?

________________________________
Raphaël di Cicco
Atos Origin - Intégration projet AGRIPPA
2ème étage - salle 208
e-mail : raphael.dicicco@atosorigin.com
tél : 01-55-91-24-53

Re: img tag

Posted by Raphaël di Cicco <ra...@atosorigin.com>.

>Any solution to this problem with using src ?

Sorry read WITHOUT !


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