The easiest way is to just load the bundle via JSTL in the page.  The
messages properties file will be in the same format as recognized by
JSTL.  The disadvantage of this approach is you are loading the
messages twice (once for Struts, once for JSTL) and doesn't work if
your messages are from another source like a database.

Don

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?

---------------------------------------------------------------------
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]

Reply via email to