struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dante A. Castiglione Maldonado" <dac.maldon...@gmail.com>
Subject Re: message resources ???key??? displaying
Date Mon, 14 Jul 2008 18:15:06 GMT
I got the same problem a few moments ago

I put the ApplicationResources.properties file under WEB-INF/classes
and it worked ok


2008/7/14  <danipruebas@adw.es>:
> It is configured as:
>
> struts-config.xml
> <message-resources parameter="ApplicationResources" null="false" />
>
> In web.xml is not defined.
>
> The ApplicationResources.properties file  is under:
> proyect_name/Webroot/WEB-INF/lib/ApplicationResources.properties
>
> And the jsp code:
>
> <logic:messagesPresent message="true">
> <html:messages id="msgs" message="true">
> <bean:write name="msgs"/>
> </html:messages >
> </logic:messagesPresent >
>
> Is something wrong about the path/classpath? Do I  need to add a key to
> <message-resources parameter="ApplicationResources".. key="whatever">??
>
> Regards,
>
>
> ----- Original Message ----- From: "Lukasz Lenart"
> <lukasz.lenart@googlemail.com>
> To: "Struts Users Mailing List" <user@struts.apache.org>
> Sent: Monday, July 14, 2008 6:32 PM
> Subject: Re: message resources ???key??? displaying
>
>
>> Hi,
>>
>> How did you configure the messages in struts-config? It should be
>> something like this:
>>
>> <message-resources parameter="MessageResources"/>
>>
>>
>> Regards
>> --
>> Lukasz
>> http://www.lenart.org.pl/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>> Email procesado por MailFoundry
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message