Only message-resources tag is <message-resources parameter="ApplicationResources"/>
-----Original Message----- From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 10:01 AM To: 'Struts Users Mailing List' Subject: RE: ApplicationResources.properties vs Validator framework In that case does it contain (or path similar) within the struts-config.xml: <message-resources parameter="com.drkw.cpds.ratings2.webapplication.struts.ApplicationResou rces " /> Christopher Marsh-Bourdon www.marsh-bourdon.com -----Original Message----- From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] Sent: 23 June 2005 14:58 To: Struts Users Mailing List Subject: RE: ApplicationResources.properties vs Validator framework yes -----Original Message----- From: klute [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 9:55 AM To: Struts Users Mailing List Subject: Re: ApplicationResources.properties vs Validator framework Does your web.xml contain the following as part of the action servlet config? <init-param> <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param> --- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote: > Hi > > > > I have a strange problem. > > > > I have an application using validator on server side and client side > (javascript), I have an ApplicationResources.properties with all my > messages for erreor messages from validations. All is working ok. > > > > But, I made a war file and deployed the application > on another server, > and all validations error messages are now empty. > ApplicationResources.properties is there, and I have > this line in my > struts-config.xml : > > > > <message-resources > parameter="ApplicationResources"/> > > > > I activated logs via log4j, and I'm not getting any > significant > information except maybe this (I don't see him load > ApplicationResources.properties) : > > > > > > DEBUG > [org.apache.struts.action.RequestProcessor][23-06-2005 > 08:29:42]: > processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js > p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel > ative=false,module=null]) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: getMessage(fr_CA,errors.required) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr_CA) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: Loading resource > 'resources/application_fr_CA.properties' > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: Loading resource completed > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: Loading resource > 'resources/application_fr.properties' > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: Loading resource completed > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale() > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: Loading resource > 'resources/application.properties' > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: Loading resource completed > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: getMessage(fr_CA,errors.maxlength) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr_CA) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale() > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: getMessage(fr_CA,errors.maxlength) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr_CA) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale() > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: getMessage(fr_CA,errors.maxlength) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr_CA) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale() > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: getMessage(fr_CA,errors.maxlength) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr_CA) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale(fr) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:29:43]: loadLocale() > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: getMessage(fr_CA,finalizing) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: loadLocale(fr_CA) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: Loading resource > 'org/apache/struts/action/ActionResources_fr_CA.properties' > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: Loading resource completed > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: loadLocale(fr) > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: Loading resource > 'org/apache/struts/action/ActionResources_fr.properties' > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: Loading resource completed > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: loadLocale() > > DEBUG > [org.apache.struts.util.PropertyMessageResources][23-06-2005 > 08:30:21]: Loading resource > 'org/apache/struts/action/ActionResources.properties' > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- 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] ------------------------------------------------------------------------ -------- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166 ------------------------------------------------------------------------ -------- --------------------------------------------------------------------- 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]