You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mohan Radhakrishnan <Mo...@hclcomnet.co.in> on 2003/03/21 12:05:14 UTC

Accessing resource properties

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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org