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]