struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pirmez <pir...@snap.com.br>
Subject Re: locale-sensitive tag: how can I show an image-path out of a property-file
Date Mon, 07 Jul 2003 18:09:39 GMT
Try this:
<html:img srcKey="key.to.your.image.file" border="0" />

> Hi,
> 
> I have a property-file including urls of my images.
> I have a tag inside a JSP as follows:
> 
> <html:img src='../../../images/buttons/New.gif' border='0'/>
> 
> And now I want to replace "images/buttons" inside the HTML with the appropriate value
out of my property-file because I'm not allowed to place a tag inside another tag like this:
"<html:img src='../../../<bean:message name..../>New.gif' border='0'/>".
> 
> Is there a possibility to solve this problem?



---------------------------------------------------------------------
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