You could use the message tag from JSTL to lookup and store the message
from your resource bundle. Then use the EL version of the Struts HTML
tag library to output the saved value.

<%-- This stores the value of my.link.1 in myLink1 --%>
<fmt:message var="myLink1" key="my.link.1"/>

<%-- now plug it in for the href attribute --%>
<html-el:link href="${myLink1}" tabindex="3"> something </html-el:link>

-Adam

-----Original Message-----
From: rukka [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 31, 2006 10:32 AM
To: Struts Users Mailing List
Subject: html:link question

Hello,

I do have a  jsp tag like this:

<html:link href="my.link.1"  tabindex="3"> something </html:link>

I want to pull href link "my.link" from Message.resources
(Application.properties).

how do I do that?

Thanks in advance to any replies...

rukka

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


-----------------------------------------
The information contained in this message may be privileged,
confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or any employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution, or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.

Thank you. Paychex, Inc.


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

Reply via email to