Request.getLocale() Returns A Different Locale In 12C (Doc ID 2222784.1)

Last updated on FEBRUARY 01, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

After upgrading to WebLogic Server 12.1.3, the server is returning a different locale than the older WebLogic version did. Code used to test:

Here we expected the locale to be ar-SA, since that is first in the list and has the same q value.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms