Hi!

The ApplicationResources.properties file is usually inside source part, and
not in Web Content part. For example, you can create a package called "i18n"
and then you can save the ApplicationResources.properties file there. Then,
you have to set this in struts-config.xml:

<message-resources parameter="i18n.ApplicationResources" null="false" />

Another question, is the app.name key defined in the
ApplicationResource.properties file???


--
Eider


On 6/27/06, Fredrik Andersson <[EMAIL PROTECTED]> wrote:

Hi all

I'm quite new to struts and is trying to implement an Language
internalization on some jsp pages.

I have my ApplicationResources.properties files inside my WEB-INF folder
and in all my struts-config files I have added the
<message-resources parameter="ApplicationResources" null="false" />
tag.
The web.xml was extended with the following.
<taglib>
       <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
       <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
And I have put the struts-bean.tld file inside my WEB-INF folder.

now when I point my browser to my page I get a "Missing message for key
"app.name" "

Any help or pointers is greatly appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to