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]