You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/08/15 17:59:34 UTC

[jira] Updated: (WW-2068) struts.locale is ignored as constant in struts.xml, does work when specified in struts.properties

     [ https://issues.apache.org/struts/browse/WW-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2068:
-----------------------------

    Fix Version/s: 2.0.10

This may be related to WW-1966 and the way configuration data is loaded.

> 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
>             Fix For: 2.0.10
>
>
> 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.