Something like this?
<bean:define id="myValue" >
<bean:message key="whatever.from.your.message.resources"/>
</bean:define>
Then use <%= myValue %> where you need to.
Susan Bradeen
On 03/21/2003 06:05:14 AM Mohan Radhakrishnan wrote:
> Hi
>
> Is there a way to store what is returned by
>
> <bean:message key="<%=x%>"/>
>
> in a variable in the scope directly using bean:define or something else
> instead of writing the following scriptlet in my JSP ?
>
> MessageResources messages =
> MessageResources.getMessageResources("ApplicationResources");
> messages.getMessage( "information" );
>
> Thanks,
> Mohan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]