I don't how is it working at your side, I am using struts 1.0 and gives
me parsing exception that
"Tag 'define' cannot have a body. "
Any confirmations??
----------
From: Thomas Cornet [SMTP:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2003 2:26 PM
To: Struts Users Mailing List
Subject: Re: message key on jsp?
Here is how you can do it :
<bean:define id="variableName">
<bean:message key="msg.key"/>
</bean:define>
HTH,
Thomas
At 10:20 30/09/2003, you wrote:
>Hello!
>
>For example;
>I have a key defined in ApplicationResources.properties
file as
>"msg.key". This can be accessed on jsp as
><bean:message key="msg.key" />.
>
>But I want to store this key in my local variable on a
jsp. How can this
>be possible?
>
>Thanks in advance.
>
>Regards,
>MMS
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]