I think it would be something like this:
<%
java.util.ArrayList cards = new java.util.ArrayList();
cards.add("101");
cards.add("102");
cards.add("103");
cards.add("104");
pageContext.setAttribute("mycards", cards, PageContext.PAGE_SCOPE);
%>
<logic:iterate id="pagelink" name="mycards">
<html:link page="addRCard.do" paramId="cardnum" paramName="pagelink">
Customer Cards: <bean:write name="pagelink"/></br>
</html:link>
</logic:iterate>
> -----Original Message-----
> From: Suriyanarayanan, Senthil Kumar
> [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 26, 2001 2:59 PM
> To: [EMAIL PROTECTED]
> Subject: How to use the MESSAGE as an attribute's value?
>
> Hello,
>
> I would like to know how to subsitute the Message's value in the
> following code..
>
> <html:link page='<%="/navigation.do?nav=profile"%>'><img
> src="/images/profile.gif" ></html:link>.
>
>
>
> How to replace the string "profile" with <bean:message
> key="profile"/>
>
>
>
>
>
> Thanks
> Senthil Kumar.S
>
> **************************************************************************
> The Information transmitted herewith is sensitive information intended
> only for use to the individual or entity to which it is addressed. If the
> reader of this message is not the intended recipient, you are hereby
> notified that any review, retransmission, dissemination, distribution,
> copying or other use of, or taking of any action in reliance upon, this
> information is strictly prohibited. If you have received this
> communication in error, please contact the sender and delete the material
> from your computer.
>