struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Slattery, Tim - BLS" <Slattery....@bls.gov>
Subject RE: html:img define src dynamicly
Date Thu, 29 Apr 2004 18:22:02 GMT
> How can I define the src of an html:img dynamicly?
 
> My bean has a property containing the filename, how can I put 
> it in the src tag?

Use the html-el tags:

<html-el:img src="${bean.imgFileName}"/>

--
Tim Slattery
Slattery_T@bls.gov


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


Mime
View raw message