struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Lea <ja...@kumachan.net.nz>
Subject Re: <html:img> doesn't get rendered
Date Wed, 09 Jul 2003 08:45:07 GMT
Hi Bob,

Use this in the JSP:

<html:img srcKey="books.publisher.heading" alt="Publishers" border="0" 
width="135" height="26"/>

and ApplicationResources.properties:

books.publisher.heading=/logos/PublishersEnglish.jpg

--jason

TopBid987654321@aol.com wrote:
> Hi All,
> 
> Maybe someone has done this before :
> 
> I am trying to use <bean:message> to deliver a <html:img> in my JSP, however,

> the <html:img> tag doesn't get rendered when it is delivered. Instead, the 
> raw tag, <html:img page="/logos/PublishersEnglish.jpg" alt="Publishers" 
> border="0" width="135" height="26"/>, is delivered.
> 
> Am I missing anything here? Any suggestions please.
> 
> Thank you.
> 
> Bob.
> 
> A  snippet from my ApplicationResources.properties file :
> .....
> .....
> books.publisher.heading=<html:img page="/logos/PublishersEnglish.jpg" 
> alt="Publishers" border="0" width="135" height="26"/>
> .....
> .....
> 
> 
> A  snippet from my JSP :
> .....
> .....
> <bean:message key="books.publisher.heading"/>
> .....
> .....
> 


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