Hello,
I have a Struts module with the following message bundle:
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:
it doesn't work because it
Maybe this is just a typo but shouldn't you be using
'bundle="mymodulekey"' instead of 'bundle="mymodule"'?
Radu Badita wrote:
Hello,
I have a Struts module with the following message bundle:
Inside an Action I can get messages from it with:
dateFormat = getResources(request,"mymodulekey").get
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"'?
Radu Badita wrote:
Hello
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:
On Fri, 19 Nov 2004 10:49:5
4 matches
Mail list logo