I think you will need to do this:

<html:img src="<%=card.getImageLink()%>" ...

As far as I know you can't nest tags like this. If someone has a better way
I'd like to see it!

Sean


----- Original Message -----
From: "Henrick Chua" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, November 22, 2001 6:58 PM
Subject: dynamic images


> Hi!
>
> how can I display images whose source URL comes from the database? and how
> can I display it's corresponding alt property?
>
> I keep getting an error message on this code:
>
> <html:img src="<bean:write name="card" property="imageLink">"
width="168.5"
> height="88" border="1"  align="texttop" alt ="bean:write name="card"
> property="imageDescription" />
>
> thanx.
>
> h
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to