Re: Missing message for key "welcome.title" in bundle "(default bundle)" for locale es

2010-11-10 Thread bladu
I think there are several problem (1)You have defined the same message key in different resource bundle (ApplicationResource and MessageResources). This may be not a good way to maintenance resource (2) is not very good. The resource bundle should be reference by base name, and the suffix will

Re: Missing message for key "welcome.title" in bundle "(default bundle)" for locale es

2010-11-10 Thread bladu
Hi Steven and Li, I have found out that my locale is [es]. But the problem still continues because, when I create the Welcome Struts application in Netbeans, In the package com.myapp.struts there is a default properties file create called ApplicationResource.properties, which has in English. we

Re: Missing message for key "welcome.title" in bundle "(default bundle)" for locale es

2010-11-10 Thread Li Ying
I think there are several problem (1)You have defined the same message key in different resource bundle (ApplicationResource and MessageResources). This may be not a good way to maintenance resource (2) is not very good. The resource bundle should be reference by base name, and the suffix will be

Re: Missing message for key "welcome.title" in bundle "(default bundle)" for locale es

2010-11-09 Thread Li Ying
> try parameter="com/myapp/struts/MessageResources"/> This is right. The name of a resource bundle, should not include the locale suffix. Actually, a resource bundle, contains several resource files which have the same base name and different suffix for each locale. For more information, see: ht

Re: Missing message for key "welcome.title" in bundle "(default bundle)" for locale es

2010-11-09 Thread Steven Yang
try and make sure your locale is "es_ES" and not just "es" (not sure if it matters, but just to be on the save side) On Wed, Nov 10, 2010 at 6:00 AM, bladu wrote: > > Hi, > > I have created a project basic project in Struts (Welcome Struts). In the > package com.myapp.struts (which is ubicate

Re: Missing message for key

2006-01-05 Thread Vasumathi
hi u try like this in jsp page. Quoting Gündüz Can Topal <[EMAIL PROTECTED]>: > Hey > > I setup ApplicationResources.properties file in"com.trend.struts" > package in "src" directory. > > In which I have > title = "MY TITLE" > element. > > My struts-config line as follows : > > >

Re: Missing message for key

2006-01-05 Thread Dave Newton
Gündüz Can Topal wrote: I setup ApplicationResources.properties file in"com.trend.struts" package in "src" directory. Well, the webapp expects the properties file to be on your classpath, not in your source directory. When you create your WAR file or deploy your web application (presumably

Re: Missing message for key

2006-01-05 Thread Rick Reumann
Gündüz Can Topal wrote the following on 1/5/2006 9:19 AM: I setup ApplicationResources.properties file in"com.trend.struts" package in "src" directory. Are you sure the file is being copied over to your com.trend.struts directory in classes? A lot of times people forget to make sure build s

Re: Missing message for key "analystprofile.edit.screen.title"

2004-12-16 Thread Yen
The purpose for /ad is the module seperation. as the property files are located under \WEB-INF\classes\resources\i18n\ad However, the problem is solved. The regional setting for the machine need to be English(UK).. learning curve is sucks >^< Thanks for the help. rgds, Yen -

Re: Missing message for key "analystprofile.edit.screen.title"

2004-12-16 Thread Radu Badita
The problem here is the tag in your jsp: It should be: "Why without '/ad' ?" you may ask. Probably the example you copied from is a Struts module named 'ad'; in such cases, when the message-resources tag is in a Struts module config, then / is appended to the name of the messages resource. In

RE: Missing message for key

2004-08-16 Thread Kataria, Satish
Hi, Have you kept the properties file in the classpath. Can you check this? Thanks, Satish -Original Message- From: Bibhu Kalyan [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 10:59 AM To: [EMAIL PROTECTED] Subject: Missing message for key Hi All, I have a typical problem. R

RE: Missing message for key "welcome.title"

2004-07-15 Thread Venkat Maddipati
Make sure that the properties file (Resource Bundle file) is set properly in the struts configuration file (usually, struts-config.xml) and check that welcome.title property is defined in the resources file. The entry for the Message Resources looks like the following in the struts config file: