Originally posted by Benson Fung:
I also have the same question. Please take a look.
https://coderanch.com/t/48236/Struts/Resource-Bundle-files-Modules-setup
Is the problem solved now? Because it seems that I have still the same problem: I have an application with several modules.
In one of this module, I define the two following messages resources:
<message-resources key="context" null="false" parameter="blabla.context.ApplicationResources"/>
<message-resources key="menu" null="false" parameter="blabla.authorization.ApplicationResources"/>.
And in my JSP, I have:
<bean:message bundle="context" key="myLocale"/>
=> When I want to display the page, I get the following error: "Cannot find message resources under key context"
However, if I add the module context path, it works:
<bean:message bundle="context/path_to_my_module" key="myLocale"/>
And I don't like the idea to "hardcode" my module path in each <bean:message> bundle property...
Thanks in advance,
J�r�my
[ September 28, 2005: Message edited by: Jeremy Tukif ]
[ September 28, 2005: Message edited by: Jeremy Tukif ]