You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alireza Fattahi <Al...@pdpsoft.com> on 2002/11/20 10:19:37 UTC

Change the src of Image dynamically

Hi,

How can we change the src of the image dynamically by using <html:img> from
a bean?
I know that this tag accepts paramName and paramProperty, but the result
always have a "?" appended to the src.

Like:
<html:img src="images/" paramName="BookRefVwcredForm" paramProperty="imgSrc"
paramScope="request" paramId="" />

Is it possible to change the src of the image dynamicly by using <html:img>?


Alireza.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>