You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Marc Michele (JIRA)" <ji...@apache.org> on 2008/10/29 03:26:37 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=44887#action_44887 ] 

Marc Michele commented on WW-2068:
----------------------------------

This isn't fixed in 2.0.12. Please let me know what i can do.

> 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: XML Configuration
>    Affects Versions: 2.0.8, 2.0.9, 2.0.10
>         Environment: Apache Tomcat/5.5.17 on Windows
>            Reporter: Dieter van Baarle
>            Assignee: Don Brown
>             Fix For: 2.1.2
>
>
> 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.