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  <[EMAIL PROTECTED]>:
> 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"
> <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>> Email procesado por MailFoundry
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to