Actually the file names were ApplicationResources_en.properties and
ApplicationResources_fr.properties but still getting the same eroor....any other hints....?
From: "Caroline Lauferon" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Cannot find message resources under key org.apache.struts.action.MESSAGE Date: Wed, 1 Oct 2003 17:10:20 +0200
> In my JSP Page I display a Hello message. If it is US..it should display HI and if it is French it displays BONJOIR > Basically I ma using MESSAGE. > > In my ApplicationResources_en.properties I have: > index.html=Hi > > and in In my ApplicationResources_fr.properties I have: > index.html=BONJOIR
So, you have put in your jsp : <bean:message key="index.html" />, havn't you?
> My STRUTS.XML file has following:
> <message-resources parameter="/WEB-INF/properties/ApplicationResources"/>
>
> and then I store the files in
> C:\strutsShop\WEB-INF\properties\Application_en.properties
your files should be ApplicationResources_en.properties and ApplicationResources_fr.properties. I think that's the problem.
> Also the above location is present in my CLASSPATH.
>
> But when I execute the page on URL, I get javax.servlet.ServletException:
Cannot find message resources under key org.apache.struts.action.MESSAGE
I know it doesn't matter by now, but I'm french and you should say Bonjour instead of Bonjoir ;-) Hope it helps, Caroline
_________________________________________________________________
Get MSN 8 Dial-up Internet Service FREE for one month. Limited time offer-- sign up now! http://join.msn.com/?page=dept/dialup
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

