Hi Alireza, You should look at the struts-el tags or the JSTL. You could then store the src as a bean property and reference like <html:img src="{bean.property}" ...
Jon Ridgway -----Original Message----- From: Alireza Fattahi [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 09:20 To: 'Struts Users Mailing List' Subject: 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> The contents of this email are intended only for the named addressees and may contain confidential and/or privileged material. If received in error please contact UPCO on +44 (0) 113 201 0600 and then delete the entire e-mail from your system. Unauthorised review, distribution, disclosure or other use of this information could constitute a breach of confidence. Your co-operation in this matter is greatly appreciated. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>