This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi there folks, I've got in my .jsp: In my struts-config-moduleName.xml file I've defined:
I'm getting the error:
I posted an earlier message asking how to obtain this bundle from within the Action class and had a reply which showed how to do this. But now I'm stuck with the .jsp way of accessing a bundle. Any help would be most appreciated! Happy new year! Norman
Joined: Dec 24, 2003
I think I found the way to do it... In my Action, I do:
I then include it as an belonging to the Eg, Then in my .jsp I've got:
And that's it. It works ok. Is this the proper way of doing things? Cheers. Norman.
Hi Rick, I tried what you suggested and get the error:
where xxx is the key defined as a message-resource in my struts-config-module.xml file. I am using request scope. Would this cause a problem? Maybe what you suggest can only be applied to the default struts-config.xml file? Confused. Normie.