struts.locale is ignored as constant in struts.xml, does work when specified in 
struts.properties
-------------------------------------------------------------------------------------------------

                 Key: WW-2068
                 URL: https://issues.apache.org/struts/browse/WW-2068
             Project: Struts 2
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 2.0.8
         Environment: Apache Tomcat/5.5.17 on Windows
            Reporter: Dieter van Baarle


When specifying the "struts.locale" as <constant name="struts.locale" 
value="nl" /> in struts.xml, the parameter is ignored, resulting in the 
following warning being logged:
WARN  [Settings.java:143] : Settings: Could not parse struts.locale setting, 
substituting default VM locale

When you specify the struts.locale in struts.properties, the parameter is 
recognized and the above warning is not logged.

This issue and its solution could be related to this one: 
https://issues.apache.org/struts/browse/WW-1668

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to