On 9/28/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
I want to be able to refer to the struts resource bundle using the
fmt:message tag.
I've been looking at the reference and I'm not sure the JSTL
LocalizationContext is interchangeable with a MessageResources.
Is there an easy way to do this?
In web.xml, I have:
<!-- this is necessary for the JSTL <fmt:message> tags to work -->
<context-param>
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
<param-value>ApplicationResources</param-value>
</context-param>
And in struts-config, the same message bundle:
<!-- ========== Message Resources Definitions ============ -->
<!-- This is the location of the ApplicationResources.properties file -->
<message-resources parameter="ApplicationResources" null="false" />
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]