Sadly, nobody gave me any useful help with this issue. Fortunately I have found the answer myself looking at the DTD for struts-config.xml files: "The module prefix (if any) is appended to the key (${key}${prefix})." So, in my JSP I should have written something like: <bean:message bundle="mymodulekey/mymodule" key="gs.filters.title"/>
On Fri, 19 Nov 2004 10:49:56 +0200, Radu Badita <[EMAIL PROTECTED]> wrote: > > Actually you are right - it is a typo, but only in the email (in the real > files I have other names, and there are spelled right). > > > > At 21:53 18.11.2004, you wrote: > >Maybe this is just a typo but shouldn't you be using > >'bundle="mymodulekey"' instead of 'bundle="mymodule"'? > > > ><bean:message bundle="mymodulekey" key="gs.filters.title"/> > > > >Radu Badita wrote: > > > >> > >>Hello, > >>I have a Struts module with the following message bundle: > >><message-resources parameter="mymodule.Application" key="mymodulekey" /> > >>Inside an Action I can get messages from it with: > >>dateFormat = getResources(request,"mymodulekey").getMessage("date.format"); > >>and it works fine. But this Action forwards to a jsp in which I have this > >>tag: > >><bean:message bundle="mymodule" key="gs.filters.title"/> > >>it doesn't work because it cannot find the bundle in any scope. > >>Can anyone please help me with this? Maybe I don't use the <bean:message > >>/> as it should be used... > >>Thanks > >>Radu > > > > > >--------------------------------------------------------------------- > >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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]