struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Yang <kenshin...@gmail.com>
Subject Re: Missing message for key "welcome.title" in bundle "(default bundle)" for locale es
Date Wed, 10 Nov 2010 01:31:21 GMT
try <message-resources
parameter="com/myapp/struts/MessageResources"/>

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 <egoibe@hotmail.com> wrote:

>
> Hi,
>
> I have created a project basic project in Struts (Welcome Struts). In the
> package com.myapp.struts (which is ubicated in the Source files) y create a
> properties file called MessageResources_es_ES, which has the following
> content:
>
> welcome.title=Holamundo Struts
> welcome.heading=Bienvenida!
> welcome.message=Holamundo Struts
>
> In the struts-config.xml y put the following file: <message-resources
> parameter="com/myapp/struts/MessageResources_es_ES"/>
>
>
> When I try to run the aplication Apache tomcat gices me the following
> error:
> Missing message for key "welcome.title" in bundle "(default bundle)" for
> locale es
>
>
> I would be very grateful if somebody could help me to solve this question.
>
> Regards and thanks with anticipation.
> --
> View this message in context:
> http://old.nabble.com/Missing-message-for-key-%22welcome.title%22-in-bundle-%22%28default-bundle%29%22-for-locale-es-tp30175630p30175630.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message