Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1 RC1
-
None
-
Operating System: All
Platform: All
-
19040
Description
Setting the locale attribute in a controller element in struts-config.xml has
no effect. The documentation states that locale should default to true (for
both the controller element and the init-param in web.xml, but locale for a
default module defaults to false.
This appears to be a transitional bug due to temporary backwards-compatibility
code. The defaultControllerConfig() method in ActionServlet effectively
overrides and ignores any settings in the struts-config controller element.
Lines 1453 and 1458 cause locale to default to false.